]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.arch/x2APIC_PATCH_05_7be42004065ce4df193aeef5befd26805267d0d9
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / x2APIC_PATCH_05_7be42004065ce4df193aeef5befd26805267d0d9
diff --git a/src/patches/suse-2.6.27.31/patches.arch/x2APIC_PATCH_05_7be42004065ce4df193aeef5befd26805267d0d9 b/src/patches/suse-2.6.27.31/patches.arch/x2APIC_PATCH_05_7be42004065ce4df193aeef5befd26805267d0d9
new file mode 100644 (file)
index 0000000..39437bf
--- /dev/null
@@ -0,0 +1,32 @@
+From: Ingo Molnar <mingo@elte.hu>
+Subject: x86, lguest: fix apic_ops build on UP
+References: fate #303948 and fate #303984
+Patch-Mainline: queued for .28
+Commit-ID: 7be42004065ce4df193aeef5befd26805267d0d9
+
+Signed-off-by: Thomas Renninger <trenn@suse.de>
+
+fix:
+
+  arch/x86/lguest/boot.c:816: error: variable ‘lguest_basic_apic_ops’ has initializer but incomplete type
+  arch/x86/lguest/boot.c:817: error: unknown field ‘read’ specified in initializer
+ [...]
+
+Signed-off-by: Ingo Molnar <mingo@elte.hu>
+
+---
+ arch/x86/lguest/boot.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+Index: linux-2.6.26/arch/x86/lguest/boot.c
+===================================================================
+--- linux-2.6.26.orig/arch/x86/lguest/boot.c
++++ linux-2.6.26/arch/x86/lguest/boot.c
+@@ -55,6 +55,7 @@
+ #include <linux/lguest_launcher.h>
+ #include <linux/virtio_console.h>
+ #include <linux/pm.h>
++#include <asm/apic.h>
+ #include <asm/lguest.h>
+ #include <asm/paravirt.h>
+ #include <asm/param.h>