From: kaf24@firebug.cl.cam.ac.uk Date: Sun, 29 Jan 2006 09:49:38 +0000 (+0100) Subject: Export the hypercall_page symbol to modules, otherwise they X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16515 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=12ae09506ec12507cd260acd5799f7b6133fc33e;p=xen.git Export the hypercall_page symbol to modules, otherwise they cannot be loaded. Signed-off-by: Keir Fraser --- diff --git a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c index df8c72221f..17ea5bab96 100644 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c @@ -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; /* diff --git a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c index 2e20185ab3..37defef008 100644 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c @@ -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;