diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-24 11:42:09 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-24 11:42:09 -0400 |
commit | acb7ffcaeaa6793fecf71decbe41ed2ff4422ad1 (patch) | |
tree | 183ce44de8f23e5672db6105e99d672dc64023ad | |
parent | d960f67701b21b945a3fb5b6555aa4a97062fcd0 (diff) |
bcachefs: Include smp.h in alloc_tag.hfix_missing_include
percpu.h depends on smp.h, but doesn't include it directly because of
circular header dependency issues; percpu.h is needed in a bunch of low
level headers.
This fixes a randconfig build error on mips.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405210052.DIrMXJNz-lkp@intel.com/
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r-- | include/linux/alloc_tag.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/alloc_tag.h b/include/linux/alloc_tag.h index afc9e259a2d3..abd24016a900 100644 --- a/include/linux/alloc_tag.h +++ b/include/linux/alloc_tag.h @@ -11,6 +11,7 @@ #include <linux/preempt.h> #include <asm/percpu.h> #include <linux/cpumask.h> +#include <linux/smp.h> #include <linux/static_key.h> #include <linux/irqflags.h> |