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:
328b4ed
)
cpu/hotplug: Fix state name in takedown_cpu() comment
author
Brendan Jackman
<
[email protected]
>
Wed, 6 Dec 2017 10:59:11 +0000
(10:59 +0000)
committer
Ingo Molnar
<
[email protected]
>
Wed, 6 Dec 2017 18:28:45 +0000
(19:28 +0100)
CPUHP_AP_SCHED_MIGRATE_DYING doesn't exist, it looks like this was
supposed to refer to CPUHP_AP_SCHED_STARTING's teardown callback,
i.e. sched_cpu_dying().
Signed-off-by: Brendan Jackman <
[email protected]
>
Cc: Boris Ostrovsky <
[email protected]
>
Cc: Dietmar Eggemann <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Quentin Perret <
[email protected]
>
Cc: Sebastian Andrzej Siewior <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[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 04892a82f6ac36c92324806b66a1c1855880c8f7..2a885c5f242921ee9bdfcba4e4ab5d59cdea1b5f 100644
(file)
--- a/
kernel/cpu.c
+++ b/
kernel/cpu.c
@@
-780,8
+780,8
@@
static int takedown_cpu(unsigned int cpu)
BUG_ON(cpu_online(cpu));
/*
- * The
CPUHP_AP_SCHED_MIGRATE_DYING callback will have removed all
- *
runnable tasks from the cpu
, there's only the idle task left now
+ * The
teardown callback for CPUHP_AP_SCHED_STARTING will have removed
+ *
all runnable tasks from the CPU
, there's only the idle task left now
* that the migration thread is done doing the stop_machine thing.
*
* Wait for the stop thread to go away.