Whamcloud - gitweb
LU-14187 osd-ldiskfs: fix locking in write commit
[fs/lustre-release.git] / lustre / include / lustre_compat.h
index a39b617..50b0399 100644 (file)
@@ -576,4 +576,8 @@ static inline int ll_vfs_removexattr(struct dentry *dentry, struct inode *inode,
 #define FALLOC_FL_INSERT_RANGE 0x20 /* insert space within file */
 #endif
 
+#ifndef raw_cpu_ptr
+#define raw_cpu_ptr(p) __this_cpu_ptr(p)
+#endif
+
 #endif /* _LUSTRE_COMPAT_H */