[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.