diff options
Diffstat (limited to 'include/linux/srcu.h')
| -rw-r--r-- | include/linux/srcu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/srcu.h b/include/linux/srcu.h index 947fdab2ddb0..8a45367b5f3a 100644 --- a/include/linux/srcu.h +++ b/include/linux/srcu.h | |||
| @@ -24,6 +24,9 @@ | |||
| 24 | * | 24 | * |
| 25 | */ | 25 | */ |
| 26 | 26 | ||
| 27 | #ifndef _LINUX_SRCU_H | ||
| 28 | #define _LINUX_SRCU_H | ||
| 29 | |||
| 27 | struct srcu_struct_array { | 30 | struct srcu_struct_array { |
| 28 | int c[2]; | 31 | int c[2]; |
| 29 | }; | 32 | }; |
| @@ -46,4 +49,5 @@ int srcu_read_lock(struct srcu_struct *sp) __acquires(sp); | |||
| 46 | 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); |
| 47 | void synchronize_srcu(struct srcu_struct *sp); | 50 | void synchronize_srcu(struct srcu_struct *sp); |
| 48 | long srcu_batches_completed(struct srcu_struct *sp); | 51 | long srcu_batches_completed(struct srcu_struct *sp); |
| 49 | void cleanup_srcu_struct(struct srcu_struct *sp); | 52 | |
| 53 | #endif | ||
