Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 374a8e0d authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul E. McKenney
Browse files

notifiers: __rcu annotations



Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 77d8485a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -49,28 +49,28 @@

struct notifier_block {
	int (*notifier_call)(struct notifier_block *, unsigned long, void *);
	struct notifier_block *next;
	struct notifier_block __rcu *next;
	int priority;
};

struct atomic_notifier_head {
	spinlock_t lock;
	struct notifier_block *head;
	struct notifier_block __rcu *head;
};

struct blocking_notifier_head {
	struct rw_semaphore rwsem;
	struct notifier_block *head;
	struct notifier_block __rcu *head;
};

struct raw_notifier_head {
	struct notifier_block *head;
	struct notifier_block __rcu *head;
};

struct srcu_notifier_head {
	struct mutex mutex;
	struct srcu_struct srcu;
	struct notifier_block *head;
	struct notifier_block __rcu *head;
};

#define ATOMIC_INIT_NOTIFIER_HEAD(name) do {	\