ia64/xen-unstable

changeset 8658:709bce2f08d6

Export Xen driver util function symbols so that Xen drivers
can build as modules.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Jan 25 14:28:07 2006 +0100 (2006-01-25)
parents aad2b2da3c8b
children 2d31ebf402e1
files linux-2.6-xen-sparse/drivers/xen/util.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/util.c	Wed Jan 25 11:51:21 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/util.c	Wed Jan 25 14:28:07 2006 +0100
     1.3 @@ -31,6 +31,7 @@ struct vm_struct *alloc_vm_area(unsigned
     1.4  
     1.5  	return area;
     1.6  }
     1.7 +EXPORT_SYMBOL(alloc_vm_area);
     1.8  
     1.9  void free_vm_area(struct vm_struct *area)
    1.10  {
    1.11 @@ -39,6 +40,7 @@ void free_vm_area(struct vm_struct *area
    1.12  	BUG_ON(ret != area);
    1.13  	kfree(area);
    1.14  }
    1.15 +EXPORT_SYMBOL(free_vm_area);
    1.16  
    1.17  void lock_vm_area(struct vm_struct *area)
    1.18  {
    1.19 @@ -58,11 +60,13 @@ void lock_vm_area(struct vm_struct *area
    1.20  	for (i = 0; i < area->size; i += PAGE_SIZE)
    1.21  		(void)__get_user(c, (char __user *)area->addr + i);
    1.22  }
    1.23 +EXPORT_SYMBOL(lock_vm_area);
    1.24  
    1.25  void unlock_vm_area(struct vm_struct *area)
    1.26  {
    1.27  	preempt_enable();
    1.28  }
    1.29 +EXPORT_SYMBOL(unlock_vm_area);
    1.30  
    1.31  /*
    1.32   * Local variables: