summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/hypervisor.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-05-09 01:10:34 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-05-09 01:10:34 -0700
commit96f6e775b58687d85ee33004d414419b5ec34106 (patch)
tree85df676750b9c10608ddf248bf6b5a0afc5a70ee /arch/x86/kernel/cpu/hypervisor.c
parentd7be0ce6afb1df60bc786f57410407ceae92b994 (diff)
x86, hypervisor: Export the x86_hyper* symbols
Export x86_hyper and the related specific structures, allowing for hypervisor identification by modules. 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 87381759d3cb..4afb5a2130ed 100644
--- a/arch/x86/kernel/cpu/hypervisor.c
+++ b/arch/x86/kernel/cpu/hypervisor.c
@@ -36,6 +36,7 @@ static const __initconst struct hypervisor_x86 * const hypervisors[] =
};
const struct hypervisor_x86 *x86_hyper;
+EXPORT_SYMBOL(x86_hyper);
static inline void __init
detect_hypervisor_vendor(void)