From: "Jan Beulich" Subject: [PATCH] make netfront build modular again Date: Fri, 24 Feb 2006 11:02:11 +0100 Message-ID: <43FEE7B3.76F0.0078.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartBF9D0FB3.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartBF9D0FB3.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Two missing exports (one of them needed only for PAE) prevented netfront from being built as a module. Jan --=__PartBF9D0FB3.0__= Content-Type: text/plain; name="xenlinux-exports-for-netfront.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="xenlinux-exports-for-netfront.patch" Index: head-2006-02-23/drivers/xen/net_driver_util.c =================================================================== --- head-2006-02-23.orig/drivers/xen/net_driver_util.c 2006-02-23 11:55:09.000000000 +0100 +++ head-2006-02-23/drivers/xen/net_driver_util.c 2006-02-24 10:35:43.000000000 +0100 @@ -30,6 +30,7 @@ #include #include +#include #include @@ -54,7 +55,7 @@ int xen_net_read_mac(struct xenbus_devic kfree(macstr); return 0; } - +EXPORT_SYMBOL(xen_net_read_mac); /* * Local variables: Index: head-2006-02-23/arch/i386/mm/init-xen.c =================================================================== --- head-2006-02-23.orig/arch/i386/mm/init-xen.c 2006-02-23 11:57:29.000000000 +0100 +++ head-2006-02-23/arch/i386/mm/init-xen.c 2006-02-24 10:57:45.000000000 +0100 @@ -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 --=__PartBF9D0FB3.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartBF9D0FB3.0__=--