summaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-03-04 15:50:28 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-19 17:18:01 -0700
commit2be85279281bafe7de808ca99de59af4fd474c49 (patch)
tree0d6a1f9268bc3cf5e466375dae97bb3de12f6f26 /include/linux/input.h
parent5b22216e11f717adc344abc7f97b42e03127c6c0 (diff)
downloadop-kernel-dev-2be85279281bafe7de808ca99de59af4fd474c49.zip
op-kernel-dev-2be85279281bafe7de808ca99de59af4fd474c49.tar.gz
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 896a922..d6ae176 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;
OpenPOWER on IntegriCloud