diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-21 13:03:20 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:32:13 -0400 |
commit | 39a0e33da0189c99ed3cea6945cda1bc9f4b7b83 (patch) | |
tree | 3503a8213edf62c7b5b20c06a38ed5a8208cde7b /arch | |
parent | 51441d434f621c5c74470b36579ae7c9fb5b7139 (diff) | |
download | op-kernel-dev-39a0e33da0189c99ed3cea6945cda1bc9f4b7b83.zip op-kernel-dev-39a0e33da0189c99ed3cea6945cda1bc9f4b7b83.tar.gz |
lguest: add export.h to lguest files for THIS_MODULE/EXPORT_SYMBOL
We need this in advance of the module.h cleanup, or we'll
get compile errors like this:
CC drivers/lguest/lguest_device.o
drivers/lguest/lguest_device.c: In function ‘lguest_devices_init’:
drivers/lguest/lguest_device.c:490: error: ‘THIS_MODULE’ undeclared (first use in this function)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/lguest/boot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c index f63da5e..cf4603b 100644 --- a/arch/x86/lguest/boot.c +++ b/arch/x86/lguest/boot.c @@ -56,6 +56,7 @@ #include <linux/lguest_launcher.h> #include <linux/virtio_console.h> #include <linux/pm.h> +#include <linux/export.h> #include <asm/apic.h> #include <asm/lguest.h> #include <asm/paravirt.h> |