diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2012-03-06 04:57:33 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-04-30 13:48:23 -0400 |
commit | 966f58c2f6df826f385706673a9bb1edcfd3499a (patch) | |
tree | c0c6701f8725a8675b3366d2fa24d86adedc34d4 | |
parent | b52ce066c55a6a53cf1f8d71308d74f908e31b99 (diff) |
rcu: Remove unused srcu_barrier()
The old srcu_barrier() macro is now unused. This commit removes it so
that it may be used for the SRCU flavor of rcu_barrier(), which will in
turn be needed to allow the upcoming call_srcu() to be used from within
modules.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r-- | include/linux/srcu.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/srcu.h b/include/linux/srcu.h index 15354db3e865..e5ce80452b62 100644 --- a/include/linux/srcu.h +++ b/include/linux/srcu.h | |||
@@ -44,12 +44,6 @@ struct srcu_struct { | |||
44 | #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ | 44 | #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ |
45 | }; | 45 | }; |
46 | 46 | ||
47 | #ifndef CONFIG_PREEMPT | ||
48 | #define srcu_barrier() barrier() | ||
49 | #else /* #ifndef CONFIG_PREEMPT */ | ||
50 | #define srcu_barrier() | ||
51 | #endif /* #else #ifndef CONFIG_PREEMPT */ | ||
52 | |||
53 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 47 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
54 | 48 | ||
55 | int __init_srcu_struct(struct srcu_struct *sp, const char *name, | 49 | int __init_srcu_struct(struct srcu_struct *sp, const char *name, |