Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1406132

[PATCH] MIPS: Add missing FROZEN hotplug notifier transitions

From Anna-Maria Gleixner <anna-maria@linutronix.de>
Newsgroups linux.kernel
Subject [PATCH] MIPS: Add missing FROZEN hotplug notifier transitions
Date 2016-05-24 15:10 +0200
Message-ID <rCkfT-3Ft-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
---
 arch/mips/cavium-octeon/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -384,7 +384,7 @@ static int octeon_cpu_callback(struct no
 {
 	unsigned int cpu = (unsigned long)hcpu;
 
-	switch (action) {
+	switch (action & ~CPU_TASKS_FROZEN) {
 	case CPU_UP_PREPARE:
 		octeon_update_boot_vector(cpu);
 		break;

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] MIPS: Add missing FROZEN hotplug notifier transitions Anna-Maria Gleixner <anna-maria@linutronix.de> - 2016-05-24 15:10 +0200
  Re: [PATCH] MIPS: Add missing FROZEN hotplug notifier transitions David Daney <ddaney.cavm@gmail.com> - 2016-05-24 20:20 +0200
    Re: [PATCH] MIPS: Add missing FROZEN hotplug notifier transitions Anna-Maria Gleixner <anna-maria@linutronix.de> - 2016-05-25 12:00 +0200

csiph-web