aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2013-10-20 06:26:02 +0200
committerAlex Shi <alex.shi@linaro.org>2015-12-01 14:46:46 +0800
commit56b2692e679c05f916646ebc44207423737d9871 (patch)
treeffa0a212afed6d063bdbffb99eab2ba73ec5d244
parent472b94c2a5d77818077a5c21b0f802f3ea734da4 (diff)
net: fix build warnings because of net_get_random_once merge
This patch fixes the following warning: In file included from include/linux/skbuff.h:27:0, from include/linux/netfilter.h:5, from include/net/netns/netfilter.h:5, from include/net/net_namespace.h:20, from include/linux/init_task.h:14, from init/init_task.c:1: include/linux/net.h:243:14: warning: 'struct static_key' declared inside parameter list [enabled by default] struct static_key *done_key); on x86_64 allnoconfig, um defconfig and ia64 allmodconfig and maybe others as well. Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net> (cherry picked from commit c68c7f5a88328fbcd992c68e99ebd6bf7d49e9d2) Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r--include/linux/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index 597349d979a0..178f70d8ea07 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -24,6 +24,7 @@
#include <linux/fcntl.h> /* For O_CLOEXEC and O_NONBLOCK */
#include <linux/kmemcheck.h>
#include <linux/rcupdate.h>
+#include <linux/jump_label.h>
#include <uapi/linux/net.h>
struct poll_table_struct;