netpoll: use DEFINE_STATIC_SRCU() to define netpoll_srcu
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 15 Mar 2013 06:50:52 +0000 (06:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Mar 2013 16:42:43 +0000 (12:42 -0400)
commit7f9421c264f8a6e6137027a45ae576517f66fa56
tree5af643f10c5d164f617b7e1515d78fac5680faf7
parent6681712d67eef14c4ce793561c3231659153a320
netpoll: use DEFINE_STATIC_SRCU() to define netpoll_srcu

DEFINE_STATIC_SRCU() defines srcu struct and do init at build time.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c