Skip to contentSkip to conversation

Export xen_start_info & notify_remote_via_irq symbols

PATCH In review NAHieu 1 participant 2 messages Oct 1, 2005 – Oct 4, 2005

lore
Share & tools
lore

NAHieu

author
#0 lore raw

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
diff -r 9d047fb99e38 linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c
@@ -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
diff -r 9d047fb99e38 linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c
@@ -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

/*

author
#1 lore raw

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 & notify_remote_via_irq, makes them available for external kernel modules.

diff -r 9d047fb99e38 linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c

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)
 {

diff -r 9d047fb99e38 linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c

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
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
@@ -86,6 +86,7 @@
 
 /* Raw start-of-day parameters from the hypervisor. */
 start_info_t *xen_start_info;
+EXPORT_SYMBOL(xen_start_info);
 #endif
 
 /*