aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/hypervisor.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-05-09 22:46:54 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-05-09 22:46:54 -0700
commit3998d095354d2a3062bdaa821ef07a1e1c82873c (patch)
treefc51a0cfe2e96f8a1fd52cc1f68af07974307843 /arch/x86/kernel/cpu/hypervisor.c
parentModify the VMware balloon driver for the new x86_hyper API (diff)
downloadlinux-dev-3998d095354d2a3062bdaa821ef07a1e1c82873c.tar.xz
linux-dev-3998d095354d2a3062bdaa821ef07a1e1c82873c.zip
x86, hypervisor: add missing <linux/module.h>
EXPORT_SYMBOL() needs <linux/module.h> to be included; fixes modular builds of the VMware balloon driver, and any future modular drivers which depends on the hypervisor. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: Greg KH <greg@kroah.com> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Alok Kataria <akataria@vmware.com> Cc: Ky Srinivasan <ksrinivasan@novell.com> Cc: Dmitry Torokhov <dtor@vmware.com> LKML-Reference: <4BE49778.6060800@zytor.com>
Diffstat (limited to 'arch/x86/kernel/cpu/hypervisor.c')
-rw-r--r--arch/x86/kernel/cpu/hypervisor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/hypervisor.c b/arch/x86/kernel/cpu/hypervisor.c
index 4afb5a2130ed..dd531cc56a8f 100644
--- a/arch/x86/kernel/cpu/hypervisor.c
+++ b/arch/x86/kernel/cpu/hypervisor.c
@@ -21,6 +21,7 @@
*
*/
+#include <linux/module.h>
#include <asm/processor.h>
#include <asm/hypervisor.h>