diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-15 23:02:03 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-27 17:49:56 +0100 |
commit | 30094208cdc68cea9d814f8df94da7d0902ac6cd (patch) | |
tree | 525a0d5af253ed155436f742397bd96cf2a09f53 /arch/x86/include | |
parent | preempt.h: Kill dependency on list.h (diff) | |
download | linux-30094208cdc68cea9d814f8df94da7d0902ac6cd.tar.xz linux-30094208cdc68cea9d814f8df94da7d0902ac6cd.zip |
Kill unnecessary kernel.h include
More trimming down unnecessary includes.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/current.h | 1 | ||||
-rw-r--r-- | arch/x86/include/asm/percpu.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/current.h b/arch/x86/include/asm/current.h index a1168e7b69e5..dd4b67101bb7 100644 --- a/arch/x86/include/asm/current.h +++ b/arch/x86/include/asm/current.h @@ -2,6 +2,7 @@ #ifndef _ASM_X86_CURRENT_H #define _ASM_X86_CURRENT_H +#include <linux/build_bug.h> #include <linux/compiler.h> #ifndef __ASSEMBLY__ diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h index 20624b80f890..5e01883eb51e 100644 --- a/arch/x86/include/asm/percpu.h +++ b/arch/x86/include/asm/percpu.h @@ -24,8 +24,8 @@ #else /* ...!ASSEMBLY */ -#include <linux/kernel.h> #include <linux/stringify.h> +#include <asm/asm.h> #ifdef CONFIG_SMP #define __percpu_prefix "%%"__stringify(__percpu_seg)":" |