|
@@ -44,12 +44,6 @@ struct srcu_struct {
|
|
|
#endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */
|
|
#endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-#ifndef CONFIG_PREEMPT
|
|
|
|
|
-#define srcu_barrier() barrier()
|
|
|
|
|
-#else /* #ifndef CONFIG_PREEMPT */
|
|
|
|
|
-#define srcu_barrier()
|
|
|
|
|
-#endif /* #else #ifndef CONFIG_PREEMPT */
|
|
|
|
|
-
|
|
|
|
|
#ifdef CONFIG_DEBUG_LOCK_ALLOC
|
|
#ifdef CONFIG_DEBUG_LOCK_ALLOC
|
|
|
|
|
|
|
|
int __init_srcu_struct(struct srcu_struct *sp, const char *name,
|
|
int __init_srcu_struct(struct srcu_struct *sp, const char *name,
|