mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
notifiers: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
parent
77d8485a8b
commit
374a8e0dc3
1 changed files with 5 additions and 5 deletions
|
@ -49,28 +49,28 @@
|
||||||
|
|
||||||
struct notifier_block {
|
struct notifier_block {
|
||||||
int (*notifier_call)(struct notifier_block *, unsigned long, void *);
|
int (*notifier_call)(struct notifier_block *, unsigned long, void *);
|
||||||
struct notifier_block *next;
|
struct notifier_block __rcu *next;
|
||||||
int priority;
|
int priority;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct atomic_notifier_head {
|
struct atomic_notifier_head {
|
||||||
spinlock_t lock;
|
spinlock_t lock;
|
||||||
struct notifier_block *head;
|
struct notifier_block __rcu *head;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct blocking_notifier_head {
|
struct blocking_notifier_head {
|
||||||
struct rw_semaphore rwsem;
|
struct rw_semaphore rwsem;
|
||||||
struct notifier_block *head;
|
struct notifier_block __rcu *head;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct raw_notifier_head {
|
struct raw_notifier_head {
|
||||||
struct notifier_block *head;
|
struct notifier_block __rcu *head;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct srcu_notifier_head {
|
struct srcu_notifier_head {
|
||||||
struct mutex mutex;
|
struct mutex mutex;
|
||||||
struct srcu_struct srcu;
|
struct srcu_struct srcu;
|
||||||
struct notifier_block *head;
|
struct notifier_block __rcu *head;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ATOMIC_INIT_NOTIFIER_HEAD(name) do { \
|
#define ATOMIC_INIT_NOTIFIER_HEAD(name) do { \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue