ia64/xen-unstable

changeset 9014:1980e01346a7

Two missing exports (one of them needed only for PAE) prevented netfront from being built as a module.

From: Jan Beulich

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Feb 24 17:25:41 2006 +0100 (2006-02-24)
parents 0807931dfa54
children 71f2d19cd3a5
files linux-2.6-xen-sparse/arch/i386/mm/init-xen.c linux-2.6-xen-sparse/drivers/xen/net_driver_util.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/i386/mm/init-xen.c	Fri Feb 24 16:37:09 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/i386/mm/init-xen.c	Fri Feb 24 17:25:41 2006 +0100
     1.3 @@ -454,6 +454,7 @@ void zap_low_mappings (void)
     1.4  
     1.5  static int disable_nx __initdata = 0;
     1.6  u64 __supported_pte_mask __read_mostly = ~_PAGE_NX;
     1.7 +EXPORT_SYMBOL(__supported_pte_mask);
     1.8  
     1.9  /*
    1.10   * noexec = on|off
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/net_driver_util.c	Fri Feb 24 16:37:09 2006 +0100
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/net_driver_util.c	Fri Feb 24 17:25:41 2006 +0100
     2.3 @@ -30,6 +30,7 @@
     2.4  
     2.5  #include <linux/if_ether.h>
     2.6  #include <linux/err.h>
     2.7 +#include <linux/module.h>
     2.8  #include <xen/net_driver_util.h>
     2.9  
    2.10  
    2.11 @@ -54,7 +55,7 @@ int xen_net_read_mac(struct xenbus_devic
    2.12  	kfree(macstr);
    2.13  	return 0;
    2.14  }
    2.15 -
    2.16 +EXPORT_SYMBOL(xen_net_read_mac);
    2.17  
    2.18  /*
    2.19   * Local variables: