lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <1464095975-56587-1-git-send-email-anna-maria@linutronix.de> Date: Tue, 24 May 2016 15:19:35 +0200 From: Anna-Maria Gleixner <anna-maria@...utronix.de> To: linux-kernel@...r.kernel.org Cc: rt@...utronix.de, Anna-Maria Gleixner <anna-maria@...utronix.de>, Yoshinori Sato <ysato@...rs.sourceforge.jp>, Rich Felker <dalias@...c.org>, linux-sh@...r.kernel.org Subject: [PATCH] sh: smp: 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. Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp> Cc: Rich Felker <dalias@...c.org> Cc: linux-sh@...r.kernel.org Signed-off-by: Anna-Maria Gleixner <anna-maria@...utronix.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;
Powered by blists - more mailing lists