]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
x86: Fix compile issues if CONFIG_XEN not defined
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Jan 2018 19:29:40 +0000 (14:29 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 1 Feb 2018 22:11:55 +0000 (14:11 -0800)
We added the usage of 'xen_initial_domain()' but forgot
to include the header file.

OraBug: 27477720
Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/kernel/cpu/scattered.c
arch/x86/mm/kaiser.c
arch/x86/mm/numa.c

index af1e5c8d7910c189450dd08cf329120d89181a1a..8cd8a7ae42decba87cacb20aab541fc8b44c5d5d 100644 (file)
@@ -9,6 +9,8 @@
 #include <asm/spec_ctrl.h>
 #include <asm/apic.h>
 
+#include <xen/xen.h>
+
 struct cpuid_bit {
        u16 feature;
        u8 reg;
index 9946a34130d94d1d15efd3ab6c456637dd2527f8..5863d9d2b34e1453ae468b345293eb7de301e0f3 100644 (file)
@@ -21,6 +21,8 @@
 #include <asm/desc.h>
 #include <asm/cmdline.h>
 
+#include <xen/xen.h>
+
 int kaiser_enabled __read_mostly = 1;
 EXPORT_SYMBOL(kaiser_enabled); /* for inlined TLB flush functions */
 
index 3c1c011c17ec8b206e66db14d3ccc754c90ea4cc..d7328f42b0c9dfdb9416c4588c16f1b90c6c1db2 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "asm/xen/vnuma.h"
 #include "numa_internal.h"
+#include <xen/xen.h>
 
 int __initdata numa_off;
 nodemask_t numa_nodes_parsed __initdata;