summaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_netlink.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2012-10-13 01:14:16 +0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-10-27 15:38:29 -0700
commit55c6659afaa6fd79a3b5a7c2b42bb87e0c11209d (patch)
tree47e14a8826659b8ce13b1e0ae011e60576a2cc0d /drivers/w1/w1_netlink.c
parentf2ebfbc991044fd5b89d4529741d7500feb37fbd (diff)
srcu: Add DEFINE_SRCU()
In old days, we had two different API sets for dynamic-allocated per-CPU data and DEFINE_PER_CPU()-defined per_cpu data, and because SRCU used dynamic-allocated per-CPU data, its srcu_struct structures cannot be declared statically. This commit therefore introduces DEFINE_SRCU() and DEFINE_STATIC_SRCU() to allow statically declared SRCU structures, using the new static per-CPU interfaces. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> [ paulmck: Updated for __DELAYED_WORK_INITIALIZER() added argument, fixed whitespace issue. ]
Diffstat (limited to 'drivers/w1/w1_netlink.c')
0 files changed, 0 insertions, 0 deletions