Skip to contentSkip to conversation

make netfront build modular again

PATCH New Jan Beulich 1 participant 1 message Feb 24, 2006 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make netfront build modular again

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

drivers/xen/net_driver_util.c +2 -1
Index: head-2006-02-23/drivers/xen/net_driver_util.c
===================================================================
@@ -30,6 +30,7 @@
 
 #include <linux/if_ether.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <xen/net_driver_util.h>
 
 
@@ -54,7 +55,7 @@ int xen_net_read_mac(struct xenbus_devic
 	kfree(macstr);
 	return 0;
 }
-
+EXPORT_SYMBOL(xen_net_read_mac);
 
 /*
  * Local variables:
arch/i386/mm/init-xen.c +1 -0
Index: head-2006-02-23/arch/i386/mm/init-xen.c
===================================================================
@@ -454,6 +454,7 @@ void zap_low_mappings (void)
 
 static int disable_nx __initdata = 0;
 u64 __supported_pte_mask __read_mostly = ~_PAGE_NX;
+EXPORT_SYMBOL(__supported_pte_mask);
 
 /*
  * noexec = on|off

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel