diff options
author | Oleg Nesterov <oleg@redhat.com> | 2015-08-21 20:42:47 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-10-06 21:25:10 +0300 |
commit | 82e8c565be8a72957570d7da8dd9b441db7bb648 (patch) | |
tree | 340d7f93cecbb93a2f6517e369b675195282ba7f /include/linux/led-lm3530.h | |
parent | cc44ca848f5e517aeca9f5eabbe13609a3f71450 (diff) | |
download | linux-82e8c565be8a72957570d7da8dd9b441db7bb648.tar.xz |
rcu_sync: Simplify rcu_sync using new rcu_sync_ops structure
This commit adds the new struct rcu_sync_ops which holds sync/call
methods, and turns the function pointers in rcu_sync_struct into an array
of struct rcu_sync_ops. This simplifies the "init" helpers by collapsing
a switch statement and explicit multiple definitions into a simple
assignment and a helper macro, respectively.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'include/linux/led-lm3530.h')
0 files changed, 0 insertions, 0 deletions