File sles10.patch of Package kvm-kmp
diff -ur bigsmp.orig/external-module-compat-comm.h bigsmp/external-module-compat-comm.h
--- bigsmp.orig/external-module-compat-comm.h 2009-07-10 14:49:27.000000000 +0000
+++ bigsmp/external-module-compat-comm.h 2009-07-10 14:52:37.000000000 +0000
@@ -783,6 +783,8 @@
# endif
#endif
+#undef NEED_COMPOUND_HEAD
+
#ifdef NEED_COMPOUND_HEAD
static inline struct page *compound_head(struct page *page)
Only in bigsmp: Modules.symvers
Only in bigsmp.orig/: .tmp_versions
Only in bigsmp.orig/x86: built-in.o
Only in bigsmp.orig/x86: .built-in.o.cmd
diff -ur bigsmp.orig/x86/external-module-compat.h bigsmp/x86/external-module-compat.h
--- bigsmp.orig/x86/external-module-compat.h 2009-07-10 14:49:27.000000000 +0000
+++ bigsmp/x86/external-module-compat.h 2009-07-10 14:55:27.000000000 +0000
@@ -533,7 +533,9 @@
#define CONFIG_HAVE_KVM_IRQCHIP 1
#endif
+#ifdef __x86_64__
#include <asm/mce.h>
+#endif
#ifndef MCG_CTL_P
#define MCG_CTL_P (1ULL<<8)
Only in bigsmp/x86: .external-module-compat.h.swp
Only in bigsmp.orig/x86: .svm.o.d
diff -ur bigsmp.orig/x86/vmx.c bigsmp/x86/vmx.c
--- bigsmp.orig/x86/vmx.c 2009-07-10 14:49:27.000000000 +0000
+++ bigsmp/x86/vmx.c 2009-07-10 14:55:12.000000000 +0000
@@ -72,7 +72,9 @@
#include <asm/desc.h>
#include <asm/vmx.h>
#include <asm/virtext.h>
+#ifdef __x86_64__
#include <asm/mce.h>
+#endif
#define __ex(x) __kvm_handle_fault_on_reboot(x)