WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Export xen_start_info & notify_remote_via_irq symbols
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: NAHieu <nahieu@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>