X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_compat.h;h=4ea091a6ee0821227cf3409fac416f19579583a3;hp=f951411eef5760efc3ccbc432c3a5367d9faaa92;hb=62f6496f81ff5896ecc778c9e57b6f84d0f83da9;hpb=cb61ed93f8563c26b6a6db396478fe54f8dc42cb diff --git a/lustre/include/lustre_compat.h b/lustre/include/lustre_compat.h index f951411..4ea091a 100644 --- a/lustre/include/lustre_compat.h +++ b/lustre/include/lustre_compat.h @@ -698,6 +698,10 @@ static inline struct timespec current_time(struct inode *inode) #define alloc_workqueue(name, flags, max_active) create_workqueue(name) #endif +#ifndef smp_store_mb +#define smp_store_mb(var, value) set_mb(var, value) +#endif + #ifndef READ_ONCE #define READ_ONCE ACCESS_ONCE #endif