summaryrefslogtreecommitdiff
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-03-04 17:50:28 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-20 04:18:01 +0400
commit2be85279281bafe7de808ca99de59af4fd474c49 (patch)
tree0d6a1f9268bc3cf5e466375dae97bb3de12f6f26 /include/linux/input.h
parent5b22216e11f717adc344abc7f97b42e03127c6c0 (diff)
downloadlinux-2be85279281bafe7de808ca99de59af4fd474c49.tar.xz
input: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Dmitry Torokhov <dtor@mail.ru> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 896a92227bc4..d6ae1761be97 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -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;