Mailing List Archive

Export the hypercall_page symbol to modules, otherwise they
# HG changeset patch
# User kaf24@firebug.cl.cam.ac.uk
# Node ID f4fc2736289293cc37c8a89a362824d6cffdd5ad
# Parent 1db05e589fa029a676dae172bdb980aadb83958e
Export the hypercall_page symbol to modules, otherwise they
cannot be loaded.

Signed-off-by: Keir Fraser <keir@xensource.com>

diff -r 1db05e589fa0 -r f4fc27362892 linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Sat Jan 28 14:31:43 2006
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Sun Jan 29 09:49:38 2006
@@ -67,6 +67,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;

diff -r 1db05e589fa0 -r f4fc27362892 linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c Sat Jan 28 14:31:43 2006
+++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c Sun Jan 29 09:49:38 2006
@@ -75,6 +75,9 @@
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;


_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog