summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/cacheinfo.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-05-13 11:29:07 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-05-13 12:06:12 +0200
commitb5cf8707e6c9d85819b4bee3218ec560953149f7 (patch)
treec89dc337b58c3be366596e3997478cefe12e028a /arch/x86/kernel/cpu/cacheinfo.c
parent3986a0a805e668a63fac0ca2cdfa8db951f87c4b (diff)
x86/CPU: Move cpu local function declarations to local header
No point in exposing all these functions globaly as they are strict local to the cpu management code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/cpu/cacheinfo.c')
-rw-r--r--arch/x86/kernel/cpu/cacheinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/cacheinfo.c b/arch/x86/kernel/cpu/cacheinfo.c
index a2e03c9401a1..58d472c84ba2 100644
--- a/arch/x86/kernel/cpu/cacheinfo.c
+++ b/arch/x86/kernel/cpu/cacheinfo.c
@@ -20,6 +20,8 @@
#include <asm/amd_nb.h>
#include <asm/smp.h>
+#include "cpu.h"
+
#define LVL_1_INST 1
#define LVL_1_DATA 2
#define LVL_2 3