Export the hypercall_page symbol to modules, otherwise they
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sun, 29 Jan 2006 09:49:38 +0000 (10:49 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sun, 29 Jan 2006 09:49:38 +0000 (10:49 +0100)
cannot be loaded.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c

index df8c72221f58f850aff7b0d260b955e3fc0bc311..17ea5bab961c8443f79f1fcfc3a6a901b1a43df1 100644 (file)
@@ -68,6 +68,9 @@ static struct notifier_block xen_panic_block = {
        xen_panic_event, NULL, 0 /* try to go last */
 };
 
+extern char hypercall_page[PAGE_SIZE];
+EXPORT_SYMBOL(hypercall_page);
+
 int disable_pse __initdata = 0;
 
 /*
index 2e20185ab361a26bbcb1fcc130e57a80a919f352..37defef008df64088fdfaf5c132ea73d4eeb4a70 100644 (file)
@@ -75,6 +75,9 @@ extern struct edid_info edid_info;
 shared_info_t *HYPERVISOR_shared_info = (shared_info_t *)empty_zero_page;
 EXPORT_SYMBOL(HYPERVISOR_shared_info);
 
+extern char hypercall_page[PAGE_SIZE];
+EXPORT_SYMBOL(hypercall_page);
+
 /* Allows setting of maximum possible memory size  */
 unsigned long xen_override_max_pfn;