projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cfffb1
)
cpu/hotplug: Use distinct name for cpu_hotplug.dep_map
author
Joonas Lahtinen
<
[email protected]
>
Wed, 12 Oct 2016 10:18:56 +0000
(13:18 +0300)
committer
Ingo Molnar
<
[email protected]
>
Sun, 16 Oct 2016 09:09:32 +0000
(11:09 +0200)
Use distinctive name for cpu_hotplug.dep_map to avoid the actual
cpu_hotplug.lock appearing as cpu_hotplug.lock#2 in lockdep splats.
Signed-off-by: Joonas Lahtinen <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
>
Acked-by: Gautham R. Shenoy <
[email protected]
>
Cc: Andrew Morton <
[email protected]
>
Cc: Daniel Vetter <
[email protected]
>
Cc: Gautham R . Shenoy <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/cpu.c
patch
|
blob
|
history
diff --git
a/kernel/cpu.c
b/kernel/cpu.c
index 5df20d6d152071b40244fb5d85279b8040a641ba..29de1a9352c005c0d4808d2f842c15d29df1b2f8 100644
(file)
--- a/
kernel/cpu.c
+++ b/
kernel/cpu.c
@@
-228,7
+228,7
@@
static struct {
.wq = __WAIT_QUEUE_HEAD_INITIALIZER(cpu_hotplug.wq),
.lock = __MUTEX_INITIALIZER(cpu_hotplug.lock),
#ifdef CONFIG_DEBUG_LOCK_ALLOC
- .dep_map =
{.name = "cpu_hotplug.lock" }
,
+ .dep_map =
STATIC_LOCKDEP_MAP_INIT("cpu_hotplug.dep_map", &cpu_hotplug.dep_map)
,
#endif
};