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

[Xen-users] Re: Xen dom0 kernel, capi driver: unknown symbol


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Andreas G. Filzer" <filzer@xxxxxx>
  • Date: Thu, 21 Sep 2006 02:12:27 +0200
  • Delivery-date: Wed, 20 Sep 2006 17:13:10 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello xen-users,

I've just read this thread without a solution ;-) Some time ago I find this 
discription and maybe it will help you too.

Have a lot of fun and success!
Andreas G. Filzer
afoctuelia

######################
Make xen_features and force_evtchn_callback() non-GPL
symbols as they are used in a variety of ubiquitous
kernel macros.

Signed-off-by: Keir Fraser &lt;keir@xxxxxxxxxxxxx&gt;

diff -r f0d1a8f9d64f -r 4d83bf50673d 
linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Tue Apr 25 14:51:10 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Wed Apr 26 17:44:46 
2006 +0100
@@ -188,7 +188,8 @@ void force_evtchn_callback(void)
 {
        (void)HYPERVISOR_xen_version(0, NULL);
 }
-EXPORT_SYMBOL_GPL(force_evtchn_callback);
+/* Not a GPL symbol: used in ubiquitous macros, so too restrictive. */
+EXPORT_SYMBOL(force_evtchn_callback);
 
 /* NB. Interrupts are disabled on entry. */
 asmlinkage void evtchn_do_upcall(struct pt_regs *regs)
diff -r f0d1a8f9d64f -r 4d83bf50673d 
linux-2.6-xen-sparse/drivers/xen/core/features.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/features.c  Tue Apr 25 14:51:10 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/core/features.c  Wed Apr 26 17:44:46 
2006 +0100
@@ -12,7 +12,8 @@
 #include &lt;xen/features.h&gt;
 
 u8 xen_features[XENFEAT_NR_SUBMAPS * 32] __read_mostly;
-EXPORT_SYMBOL_GPL(xen_features);
+/* Not a GPL symbol: used in ubiquitous macros, so too restrictive. */
+EXPORT_SYMBOL(xen_features);
 
 void setup_xen_features(void)
 {


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


 


Rackspace

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