|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Need to include module.h to get EXPORT_SYMBOL macros.
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 2e82fd7a69212955b75c6adaed4ae2a58ae45399
# Parent 5fcc346d6fe086436977a9b171f2bdb3a177d828
Need to include module.h to get EXPORT_SYMBOL macros.
Export xen driver util functions with GPL tag.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r 5fcc346d6fe0 -r 2e82fd7a6921 linux-2.6-xen-sparse/drivers/xen/util.c
--- a/linux-2.6-xen-sparse/drivers/xen/util.c Thu Jan 26 10:31:28 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/util.c Fri Jan 27 11:48:32 2006
@@ -1,5 +1,6 @@
#include <linux/config.h>
#include <linux/mm.h>
+#include <linux/module.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <asm/uaccess.h>
@@ -31,7 +32,7 @@
return area;
}
-EXPORT_SYMBOL(alloc_vm_area);
+EXPORT_SYMBOL_GPL(alloc_vm_area);
void free_vm_area(struct vm_struct *area)
{
@@ -40,7 +41,7 @@
BUG_ON(ret != area);
kfree(area);
}
-EXPORT_SYMBOL(free_vm_area);
+EXPORT_SYMBOL_GPL(free_vm_area);
void lock_vm_area(struct vm_struct *area)
{
@@ -60,13 +61,13 @@
for (i = 0; i < area->size; i += PAGE_SIZE)
(void)__get_user(c, (char __user *)area->addr + i);
}
-EXPORT_SYMBOL(lock_vm_area);
+EXPORT_SYMBOL_GPL(lock_vm_area);
void unlock_vm_area(struct vm_struct *area)
{
preempt_enable();
}
-EXPORT_SYMBOL(unlock_vm_area);
+EXPORT_SYMBOL_GPL(unlock_vm_area);
/*
* Local variables:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Need to include module.h to get EXPORT_SYMBOL macros.,
Xen patchbot -unstable <=
|
|
|
|
|