powerpc/pmac/smp: Add missing FROZEN hotplug notifier transitions
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Mon, 4 Apr 2016 09:30:01 +0000 (11:30 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Jul 2016 10:39:58 +0000 (20:39 +1000)
commitc011926fcbeb9565599f278148b91e536a07b68a
treec517cac87943cc08bdf4e92196e306efcac24967
parentb0b5e5918ad1babfd1d43d98c7281926a7b57b9f
powerpc/pmac/smp: Add missing FROZEN hotplug notifier transitions

The FROZEN transitions are used when a CPU suspends/resumes. In case
of a suspend/resume, only the up prepare (CPU_UP_PREPARE_FROZEN) is
handled. The error handling transition CPU_UP_CANCELED_FROZEN as well
as the CPU_ONLINE_FROZEN transition are not handled.

Masking the switch case action argument with ~CPU_TASKS_FROZEN, to
handle all FROZEN tasks the same way than the corresponding non frozen
tasks.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powermac/smp.c
This page took 0.025483 seconds and 5 git commands to generate.