[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-3998d095354d2a3062bdaa821ef07a1e1c82873c@git.kernel.org>
Date: Mon, 10 May 2010 05:56:02 GMT
From: "tip-bot for H. Peter Anvin" <hpa@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
greg@...ah.com, hjanssen@...rosoft.com, ksrinivasan@...ell.com,
dtor@...are.com, tglx@...utronix.de, akataria@...are.com,
mingo@...e.hu
Subject: [tip:x86/cpu] x86, hypervisor: add missing <linux/module.h>
Commit-ID: 3998d095354d2a3062bdaa821ef07a1e1c82873c
Gitweb: http://git.kernel.org/tip/3998d095354d2a3062bdaa821ef07a1e1c82873c
Author: H. Peter Anvin <hpa@...or.com>
AuthorDate: Sun, 9 May 2010 22:46:54 -0700
Committer: H. Peter Anvin <hpa@...or.com>
CommitDate: Sun, 9 May 2010 22:46:54 -0700
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@...e.hu>
Signed-off-by: H. Peter Anvin <hpa@...or.com>
Cc: Greg KH <greg@...ah.com>
Cc: Hank Janssen <hjanssen@...rosoft.com>
Cc: Alok Kataria <akataria@...are.com>
Cc: Ky Srinivasan <ksrinivasan@...ell.com>
Cc: Dmitry Torokhov <dtor@...are.com>
LKML-Reference: <4BE49778.6060800@...or.com>
---
arch/x86/kernel/cpu/hypervisor.c | 1 +
arch/x86/kernel/cpu/mshyperv.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/hypervisor.c b/arch/x86/kernel/cpu/hypervisor.c
index 4afb5a2..dd531cc 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>
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index 0f13717..16f41bb 100644
--- a/arch/x86/kernel/cpu/mshyperv.c
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -11,6 +11,7 @@
*/
#include <linux/types.h>
+#include <linux/module.h>
#include <asm/processor.h>
#include <asm/hypervisor.h>
#include <asm/hyperv.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists