diff options
author | Paul E. McKenney <[email protected]> | 2009-09-28 21:50:21 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-05 21:02:05 +0200 |
commit | 135c8aea557cf53abe6c8847e286d01442124193 (patch) | |
tree | 82d8ca15e13548749c7770e9a1a7bc6800ebefbb /lib/cpu-notifier-error-inject.c | |
parent | a0b6c9a78c41dc36732d6e1e90f0f2f57b29816f (diff) |
rcu: Replace the rcu_barrier enum with pointer to call_rcu*() function
The rcu_barrier enum causes several problems:
(1) you have to define the enum somewhere, and there is no
convenient place,
(2) the difference between TREE_RCU and TREE_PREEMPT_RCU causes
problems when you need to map from rcu_barrier enum to struct
rcu_state,
(3) the switch statement are large, and
(4) TINY_RCU really needs a different rcu_barrier() than do the
treercu implementations.
So replace it with a functionally equivalent but cleaner function
pointer abstraction.
Signed-off-by: Paul E. McKenney <[email protected]>
Acked-by: Mathieu Desnoyers <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <12541998232366-git-send-email->
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions