From 5e86fd5926c37f8250b71d3d5b0be277edb7ddb9 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Mon, 29 Jan 2018 14:29:40 -0500 Subject: [PATCH] x86: Fix compile issues if CONFIG_XEN not defined We added the usage of 'xen_initial_domain()' but forgot to include the header file. OraBug: 27477720 Reviewed-by: John Haxby Signed-off-by: Konrad Rzeszutek Wilk --- arch/x86/kernel/cpu/scattered.c | 2 ++ arch/x86/mm/kaiser.c | 2 ++ arch/x86/mm/numa.c | 1 + 3 files changed, 5 insertions(+) diff --git a/arch/x86/kernel/cpu/scattered.c b/arch/x86/kernel/cpu/scattered.c index af1e5c8d7910..8cd8a7ae42de 100644 --- a/arch/x86/kernel/cpu/scattered.c +++ b/arch/x86/kernel/cpu/scattered.c @@ -9,6 +9,8 @@ #include #include +#include + struct cpuid_bit { u16 feature; u8 reg; diff --git a/arch/x86/mm/kaiser.c b/arch/x86/mm/kaiser.c index 9946a34130d9..5863d9d2b34e 100644 --- a/arch/x86/mm/kaiser.c +++ b/arch/x86/mm/kaiser.c @@ -21,6 +21,8 @@ #include #include +#include + int kaiser_enabled __read_mostly = 1; EXPORT_SYMBOL(kaiser_enabled); /* for inlined TLB flush functions */ diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 3c1c011c17ec..d7328f42b0c9 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c @@ -20,6 +20,7 @@ #include "asm/xen/vnuma.h" #include "numa_internal.h" +#include int __initdata numa_off; nodemask_t numa_nodes_parsed __initdata; -- 2.50.1