[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Export the hypercall_page symbol to modules, otherwise they



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

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.