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


Groups > linux.kernel > #1406158 > unrolled thread

[PATCH] sh: smp: Add missing FROZEN hotplug notifier transitions

Started byAnna-Maria Gleixner <anna-maria@linutronix.de>
First post2016-05-24 15:20 +0200
Last post2016-05-24 15:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] sh: smp: Add missing FROZEN hotplug notifier transitions Anna-Maria Gleixner <anna-maria@linutronix.de> - 2016-05-24 15:20 +0200

#1406158 — [PATCH] sh: smp: Add missing FROZEN hotplug notifier transitions

FromAnna-Maria Gleixner <anna-maria@linutronix.de>
Date2016-05-24 15:20 +0200
Subject[PATCH] sh: smp: Add missing FROZEN hotplug notifier transitions
Message-ID<rCkpA-3IP-29@gated-at.bofh.it>
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: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
---
 arch/sh/kernel/cpu/sh4a/smp-shx3.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/sh/kernel/cpu/sh4a/smp-shx3.c
+++ b/arch/sh/kernel/cpu/sh4a/smp-shx3.c
@@ -127,7 +127,7 @@ shx3_cpu_callback(struct notifier_block
 {
 	unsigned int cpu = (unsigned int)hcpu;
 
-	switch (action) {
+	switch (action & ~CPU_TASKS_FROZEN) {
 	case CPU_UP_PREPARE:
 		shx3_update_boot_vector(cpu);
 		break;

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web