]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8ed92d0474faaed4edf3b62a847fdddebab2e53
tree491bb99eb3633a54a1d1f03e671ce16c922b6e74
parentac72e9b519dd9b79fcb3434e8ce415470a39a71d
net: explicitly add jump_label.h header to sock.h

Commit 4482e5879e74a6e5b835f83f5cd7f227de061d13 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