|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Make xen_features and force_evtchn_callback() non-GPL
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 1d69cff40b8c7a71d1e2a26f99d9605f311b0772
# Parent 9df603eff58a6e5126b0eb82906b961a684575a7
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@xxxxxxxxxxxxx>
diff -r 9df603eff58a -r 1d69cff40b8c
linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c Wed Apr 26 10:43:16
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c Wed Apr 26 17:41:19
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 9df603eff58a -r 1d69cff40b8c
linux-2.6-xen-sparse/drivers/xen/core/features.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/features.c Wed Apr 26 10:43:16
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/core/features.c Wed Apr 26 17:41:19
2006 +0100
@@ -12,7 +12,8 @@
#include <xen/features.h>
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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Make xen_features and force_evtchn_callback() non-GPL,
Xen patchbot -unstable <=
|
|
|
|
|