diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/srcu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/srcu.h b/include/linux/srcu.h index 8a45367b5f3a..aca0eee53930 100644 --- a/include/linux/srcu.h +++ b/include/linux/srcu.h | |||
@@ -43,7 +43,7 @@ struct srcu_struct { | |||
43 | #define srcu_barrier() | 43 | #define srcu_barrier() |
44 | #endif /* #else #ifndef CONFIG_PREEMPT */ | 44 | #endif /* #else #ifndef CONFIG_PREEMPT */ |
45 | 45 | ||
46 | void init_srcu_struct(struct srcu_struct *sp); | 46 | int init_srcu_struct(struct srcu_struct *sp); |
47 | void cleanup_srcu_struct(struct srcu_struct *sp); | 47 | void cleanup_srcu_struct(struct srcu_struct *sp); |
48 | int srcu_read_lock(struct srcu_struct *sp) __acquires(sp); | 48 | int srcu_read_lock(struct srcu_struct *sp) __acquires(sp); |
49 | void srcu_read_unlock(struct srcu_struct *sp, int idx) __releases(sp); | 49 | void srcu_read_unlock(struct srcu_struct *sp, int idx) __releases(sp); |