WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH] [BUILD] XEN_XKBUFF needs to depend on NET

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] [BUILD] XEN_XKBUFF needs to depend on NET
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 14 Dec 2006 16:38:39 +0900
Delivery-date: Thu, 14 Dec 2006 00:59:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Resent-date: Thu, 14 Dec 2006 17:59:04 +0900
Resent-from: Horms <horms@xxxxxxxxxxxx>
Resent-message-id: <20061214085904.GA3314@xxxxxxxxxxxx>
Resent-to: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (Debian)
XEN_XKBUFF needs to depend on NET. 

Without this change, the build will fail because
linux-2.6-xen-sparse/drivers/xen/core/skbuff.c:__dev_alloc_skb() and 
linux-2.6-xen-sparse/drivers/xen/core/skbuff.c:__alloc_skb() call
alloc_skb_from_cache().

This could be fixed by wrapping those two functions in
#ifdef CONFIG_NET, however it seems that the entire contents
of skbuff.c is unused when CONFIG_NET=n

Signed-Off-By: Simon Horman <horms@xxxxxxxxxxxx>

 linux-2.6-xen-sparse/arch/ia64/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- 0001/linux-2.6-xen-sparse/arch/ia64/Kconfig
+++ work/linux-2.6-xen-sparse/arch/ia64/Kconfig 2006-12-14 16:33:32.000000000 
+0900
@@ -532,6 +532,7 @@ config XEN_BALLOON
 
 config XEN_SKBUFF
        default y
+       depends on NET
 
 config XEN_REBOOT
        default y

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

<Prev in Thread] Current Thread [Next in Thread>