diff options
-rw-r--r-- | fs/bcachefs/bcachefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 051aba63eaa5..96d2af9b3a4d 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -198,6 +198,10 @@ #include <linux/workqueue.h> #include <linux/zstd.h> +#ifdef __KERNEL__ +#define BCACHEFS_HAS_PERCPU +#endif + #include "bcachefs_format.h" #include "fifo.h" #include "opts.h" |