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

Commit 2be85279 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul E. McKenney
Browse files

input: __rcu annotations



Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: default avatarDmitry Torokhov <dtor@mail.ru>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 5b22216e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ struct evdev {
	int minor;
	struct input_handle handle;
	wait_queue_head_t wait;
	struct evdev_client *grab;
	struct evdev_client __rcu *grab;
	struct list_head client_list;
	spinlock_t client_lock; /* protects client_list */
	struct mutex mutex;
+1 −1
Original line number Diff line number Diff line
@@ -1196,7 +1196,7 @@ struct input_dev {
	int (*flush)(struct input_dev *dev, struct file *file);
	int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);

	struct input_handle *grab;
	struct input_handle __rcu *grab;

	spinlock_t event_lock;
	struct mutex mutex;