projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88aa010
)
Lockdep: fix compile error in drivers/input/serio/serio.c
author
Andrew Morton
<akpm@osdl.org>
Thu, 12 Oct 2006 03:45:23 +0000
(23:45 -0400)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Thu, 12 Oct 2006 03:45:23 +0000
(23:45 -0400)
lockdep_set_subclass() was missing in !LOCKDEP case
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/lockdep.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/lockdep.h
b/include/linux/lockdep.h
index 14fec2a23b2eda98b1543a4feec4bd8e4860a3b0..819f08f1310db878f753e7656da2ce32590a5a69 100644
(file)
--- a/
include/linux/lockdep.h
+++ b/
include/linux/lockdep.h
@@
-268,6
+268,8
@@
static inline int lockdep_internal(void)
do { (void)(key); } while (0)
#define lockdep_set_class_and_subclass(lock, key, sub) \
do { (void)(key); } while (0)
+#define lockdep_set_subclass(lock, sub) do { } while (0)
+
# define INIT_LOCKDEP
# define lockdep_reset() do { debug_locks = 1; } while (0)
# define lockdep_free_key_range(start, size) do { } while (0)