Commit a8c5ddf0 authored by Anna-Maria Gleixner's avatar Anna-Maria Gleixner Committed by Ralf Baechle

MIPS: Add missing FROZEN hotplug notifier transitions

The corresponding FROZEN hotplug notifier transitions used on
suspend/resume are ignored. Therefore the switch case action argument
is masked with the frozen hotplug notifier transition mask.
Signed-off-by: default avatarAnna-Maria Gleixner <anna-maria@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: rt@linutronix.de
Patchwork: https://patchwork.linux-mips.org/patch/13351/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent bb93078e
...@@ -384,7 +384,7 @@ static int octeon_cpu_callback(struct notifier_block *nfb, ...@@ -384,7 +384,7 @@ static int octeon_cpu_callback(struct notifier_block *nfb,
{ {
unsigned int cpu = (unsigned long)hcpu; unsigned int cpu = (unsigned long)hcpu;
switch (action) { switch (action & ~CPU_TASKS_FROZEN) {
case CPU_UP_PREPARE: case CPU_UP_PREPARE:
octeon_update_boot_vector(cpu); octeon_update_boot_vector(cpu);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment