1*7c0e8b0cSWill Deacon #ifndef KVM__KVM_BARRIER_H 2*7c0e8b0cSWill Deacon #define KVM__KVM_BARRIER_H 3*7c0e8b0cSWill Deacon 4*7c0e8b0cSWill Deacon #define dmb() asm volatile ("dmb" : : : "memory") 5*7c0e8b0cSWill Deacon 6*7c0e8b0cSWill Deacon #define mb() dmb() 7*7c0e8b0cSWill Deacon #define rmb() dmb() 8*7c0e8b0cSWill Deacon #define wmb() dmb() 9*7c0e8b0cSWill Deacon 10*7c0e8b0cSWill Deacon #endif /* KVM__KVM_BARRIER_H */ 11