cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

barrier.h (335B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
      3#define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
      4
      5#define mb()	__asm__ __volatile__("mb": : :"memory")
      6#define rmb()	__asm__ __volatile__("mb": : :"memory")
      7#define wmb()	__asm__ __volatile__("wmb": : :"memory")
      8
      9#endif		/* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */