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

[Xen-changelog] Export Xen driver util function symbols so that Xen drivers



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 709bce2f08d6024c2efb2938e564915da1ca51f2
# Parent  aad2b2da3c8beda24bc62ca6e92b28c28def0849
Export Xen driver util function symbols so that Xen drivers
can build as modules.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r aad2b2da3c8b -r 709bce2f08d6 linux-2.6-xen-sparse/drivers/xen/util.c
--- a/linux-2.6-xen-sparse/drivers/xen/util.c   Wed Jan 25 11:51:21 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/util.c   Wed Jan 25 13:28:07 2006
@@ -31,6 +31,7 @@
 
        return area;
 }
+EXPORT_SYMBOL(alloc_vm_area);
 
 void free_vm_area(struct vm_struct *area)
 {
@@ -39,6 +40,7 @@
        BUG_ON(ret != area);
        kfree(area);
 }
+EXPORT_SYMBOL(free_vm_area);
 
 void lock_vm_area(struct vm_struct *area)
 {
@@ -58,11 +60,13 @@
        for (i = 0; i < area->size; i += PAGE_SIZE)
                (void)__get_user(c, (char __user *)area->addr + i);
 }
+EXPORT_SYMBOL(lock_vm_area);
 
 void unlock_vm_area(struct vm_struct *area)
 {
        preempt_enable();
 }
+EXPORT_SYMBOL(unlock_vm_area);
 
 /*
  * Local variables:

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


 


Rackspace

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