Skip to content

Commit a8c5ddf

Browse files
anna-marialxralfbaechle
authored andcommitted
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: Anna-Maria Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/13351/ Signed-off-by: Ralf Baechle <[email protected]>
1 parent bb93078 commit a8c5ddf

File tree

1 file changed

+1
-1
lines changed
  • arch/mips/cavium-octeon

1 file changed

+1
-1
lines changed

arch/mips/cavium-octeon/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ static int octeon_cpu_callback(struct notifier_block *nfb,
384384
{
385385
unsigned int cpu = (unsigned long)hcpu;
386386

387-
switch (action) {
387+
switch (action & ~CPU_TASKS_FROZEN) {
388388
case CPU_UP_PREPARE:
389389
octeon_update_boot_vector(cpu);
390390
break;

0 commit comments

Comments
 (0)