Export xen_start_info & notify_remote_via_irq symbols
PATCH 1/1 Export xen_start_info & notify_remote_via_irq symbols
The below patch exports xen_start_info & notify_remote_via_irq, makes them available for external kernel modules.
linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Sat Oct 1 23:38:52 2005 renamed from linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Fri Sep 30 16:37:52 2005 +1 -0
@@ -365,6 +365,7 @@ /* Raw start-of-day parameters from the hypervisor. */ start_info_t *xen_start_info; +EXPORT_SYMBOL(xen_start_info); static void __init limit_regions(unsigned long long size) {
linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c Sat Oct 1 23:38:52 2005 renamed from linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c Fri Sep 30 16:37:52 2005 +1 -0
@@ -629,6 +629,7 @@ if (VALID_EVTCHN(evtchn)) notify_remote_via_evtchn(evtchn); } +EXPORT_SYMBOL(notify_remote_via_irq); void irq_resume(void) {
diff -r 9d047fb99e38 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 Fri
Sep 30 16:37:52 2005 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c Sat Oct 1 23:38:52 2005
@@ -86,6 +86,7 @@
/* Raw start-of-day parameters from the hypervisor. */ start_info_t *xen_start_info;
+EXPORT_SYMBOL(xen_start_info);
#endif
/*
Hi,
This patch has been rejected?
And is there any reason why we don't export xenbus_register_backend() ?
Thanks.
NAH
Quoted 43 lines · NAHieu
The below patch exports
xen_start_info¬ify_remote_via_irq, makes them available for external kernel modules.Signed-off-by Nguyen Anh Hieu <[email protected]>diff -r
9d047fb99e38linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.clinux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Sat Oct 1 23:38:52 2005 renamed from linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Fri Sep 30 16:37:52 2005 +1
-0@@ -365,6 +365,7 @@ /* Raw start-of-day parameters from the hypervisor. */ start_info_t *xen_start_info; +EXPORT_SYMBOL(xen_start_info); static void __init limit_regions(unsigned long long size) {diff -r
9d047fb99e38linux-2.6-xen-sparse/arch/xen/kernel/evtchn.clinux-2.6-xen-sparse/arch/xen/kernel/evtchn.c Sat Oct 1 23:38:52 2005 renamed from linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c Fri Sep 30 16:37:52 2005 +1
-0@@ -629,6 +629,7 @@ if (VALID_EVTCHN(evtchn)) notify_remote_via_evtchn(evtchn); } +EXPORT_SYMBOL(notify_remote_via_irq); void irq_resume(void) {diff -r
9d047fb99e38linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c
---a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.cFriSep 30 16:37:52 2005 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c Sat Oct 1 23:38:52 2005linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c Sat Oct 1 23:38:52 2005 renamed from linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c Fri Sep 30 16:37:52 2005 +1
-0@@ -86,6 +86,7 @@ /* Raw start-of-day parameters from the hypervisor. */ start_info_t *xen_start_info; +EXPORT_SYMBOL(xen_start_info); #endif /*