net: explicitly add jump_label.h header to sock.h
authorGlauber Costa <glommer@parallels.com>
Thu, 26 Jan 2012 12:09:28 +0000 (12:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2012 22:13:26 +0000 (17:13 -0500)
commit9018e93948c6f8f95fbcc9fa05f6c403d6adb406
tree491bb99eb3633a54a1d1f03e671ce16c922b6e74
parentf18da14565819ba43b8321237e2426a2914cc2ef
net: explicitly add jump_label.h header to sock.h

Commit 36a1211970193ce215de50ed1e4e1272bc814df1 removed linux/module.h
include statement from one of the headers that end up in net/sock.h.
It was providing us with static_branch() definition implicitly, so
after its removal the build got broken.

To fix this, and avoid having this happening in the future,
let me do the right thing and include linux/jump_label.h
explicitly in sock.h.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h