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

[Xen-devel] [PATCH] Export xen_start_info & notify_remote_via_irq symbols


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: NAHieu <nahieu@xxxxxxxxx>
  • Date: Sun, 2 Oct 2005 00:43:00 +0900
  • Delivery-date: Sat, 01 Oct 2005 15:41:21 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ID8Pj9QdRMPPud6yC7ZsZuG4C9W9YPEd0mTL18amMhTVQgw0ysLS7wMTokRXdxNXSaRd5gunMMhzkUNfRMwy4RI46CKYqD/8qtW/AKyf1AYws4oSD7YGKEBQoYUkptKMbPUAomNWzMEfa3y4BFYssFSm5bH+cAsD4nXCC8slDdo=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The below patch exports xen_start_info & notify_remote_via_irq, makes
them available for external kernel modules.

Signed-off-by: Nguyen Anh Hieu <nahieu@xxxxxxxxx>



diff -r 9d047fb99e38 linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Fri Sep 30 16:37:52 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Sat Oct  1 23:38:52 2005
@@ -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
--- a/linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c     Fri Sep 30 16:37:52 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c     Sat Oct  1 23:38:52 2005
@@ -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

 /*

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


 


Rackspace

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