ia64/xen-unstable

changeset 9857:1d69cff40b8c

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 <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Apr 26 17:41:19 2006 +0100 (2006-04-26)
parents 9df603eff58a
children b3cc9b6e470e 4d667a139318
files linux-2.6-xen-sparse/drivers/xen/core/evtchn.c linux-2.6-xen-sparse/drivers/xen/core/features.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c	Wed Apr 26 10:43:16 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c	Wed Apr 26 17:41:19 2006 +0100
     1.3 @@ -188,7 +188,8 @@ void force_evtchn_callback(void)
     1.4  {
     1.5  	(void)HYPERVISOR_xen_version(0, NULL);
     1.6  }
     1.7 -EXPORT_SYMBOL_GPL(force_evtchn_callback);
     1.8 +/* Not a GPL symbol: used in ubiquitous macros, so too restrictive. */
     1.9 +EXPORT_SYMBOL(force_evtchn_callback);
    1.10  
    1.11  /* NB. Interrupts are disabled on entry. */
    1.12  asmlinkage void evtchn_do_upcall(struct pt_regs *regs)
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/core/features.c	Wed Apr 26 10:43:16 2006 +0100
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/core/features.c	Wed Apr 26 17:41:19 2006 +0100
     2.3 @@ -12,7 +12,8 @@
     2.4  #include <xen/features.h>
     2.5  
     2.6  u8 xen_features[XENFEAT_NR_SUBMAPS * 32] __read_mostly;
     2.7 -EXPORT_SYMBOL_GPL(xen_features);
     2.8 +/* Not a GPL symbol: used in ubiquitous macros, so too restrictive. */
     2.9 +EXPORT_SYMBOL(xen_features);
    2.10  
    2.11  void setup_xen_features(void)
    2.12  {