diff options
Diffstat (limited to 'include/linux/notifier.h')
| -rw-r--r-- | include/linux/notifier.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/notifier.h b/include/linux/notifier.h index b2f1a4d83550..2026f9e1ceb8 100644 --- a/include/linux/notifier.h +++ b/include/linux/notifier.h | |||
| @@ -49,28 +49,28 @@ | |||
| 49 | 49 | ||
| 50 | struct notifier_block { | 50 | struct notifier_block { |
| 51 | int (*notifier_call)(struct notifier_block *, unsigned long, void *); | 51 | int (*notifier_call)(struct notifier_block *, unsigned long, void *); |
| 52 | struct notifier_block *next; | 52 | struct notifier_block __rcu *next; |
| 53 | int priority; | 53 | int priority; |
| 54 | }; | 54 | }; |
| 55 | 55 | ||
| 56 | struct atomic_notifier_head { | 56 | struct atomic_notifier_head { |
| 57 | spinlock_t lock; | 57 | spinlock_t lock; |
| 58 | struct notifier_block *head; | 58 | struct notifier_block __rcu *head; |
| 59 | }; | 59 | }; |
| 60 | 60 | ||
| 61 | struct blocking_notifier_head { | 61 | struct blocking_notifier_head { |
| 62 | struct rw_semaphore rwsem; | 62 | struct rw_semaphore rwsem; |
| 63 | struct notifier_block *head; | 63 | struct notifier_block __rcu *head; |
| 64 | }; | 64 | }; |
| 65 | 65 | ||
| 66 | struct raw_notifier_head { | 66 | struct raw_notifier_head { |
| 67 | struct notifier_block *head; | 67 | struct notifier_block __rcu *head; |
| 68 | }; | 68 | }; |
| 69 | 69 | ||
| 70 | struct srcu_notifier_head { | 70 | struct srcu_notifier_head { |
| 71 | struct mutex mutex; | 71 | struct mutex mutex; |
| 72 | struct srcu_struct srcu; | 72 | struct srcu_struct srcu; |
| 73 | struct notifier_block *head; | 73 | struct notifier_block __rcu *head; |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { \ | 76 | #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { \ |
