diff options
author | Ingo Molnar <mingo@kernel.org> | 2020-08-06 14:34:32 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-08-06 16:13:09 +0200 |
commit | 13c01139b17163c9b2aa543a9c39f8bbc875b625 (patch) | |
tree | 130043995a33a622a6a41661e25224c22a3f2df9 /arch/x86/include/asm/tsc.h | |
parent | a703f3633ff1d982bc4adfe7e0921bedb1701216 (diff) | |
download | lwn-13c01139b17163c9b2aa543a9c39f8bbc875b625.tar.gz lwn-13c01139b17163c9b2aa543a9c39f8bbc875b625.zip |
x86/headers: Remove APIC headers from <asm/smp.h>
The APIC headers are relatively complex and bring in additional
header dependencies - while smp.h is a relatively simple header
included from high level headers.
Remove the dependency and add in the missing #include's in .c
files where they gained it indirectly before.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/tsc.h')
-rw-r--r-- | arch/x86/include/asm/tsc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h index 8a0c25c6bf09..db5977174ce7 100644 --- a/arch/x86/include/asm/tsc.h +++ b/arch/x86/include/asm/tsc.h @@ -6,6 +6,7 @@ #define _ASM_X86_TSC_H #include <asm/processor.h> +#include <asm/cpufeature.h> #define NS_SCALE 10 /* 2^10, carefully chosen */ #define US_SCALE 32 /* 2^32, arbitralrily chosen */ |