Patchwork : Fix build regression from address list changes.

login
register
mail settings
Submitter David Miller
Date May 6, 2009, 10:44 p.m.
Message ID <20090506.154444.266197851.davem@davemloft.net>
Download mbox | patch
Permalink /patch/26959/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - May 6, 2009, 10:44 p.m.
I'm about to push the following out to net-next-2.6, just FYI:

net: Add missing rculist.h include to netdevice.h

Otherwise list_for_each_entry_rcu() et al. aren't visible
and we get build failures in some configurations.

Signed-off-by: David S. Miller <davem@davemloft.net>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 02882e2..2af89b6 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -39,6 +39,7 @@ 
 
 #include <linux/device.h>
 #include <linux/percpu.h>
+#include <linux/rculist.h>
 #include <linux/dmaengine.h>
 #include <linux/workqueue.h>