]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/rtas: allow rescheduling while changing cpu states
authorNathan Lynch <nathanl@linux.ibm.com>
Fri, 2 Aug 2019 19:29:25 +0000 (14:29 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 20 Aug 2019 11:22:27 +0000 (21:22 +1000)
commit10e4850d7c7f2af2e5c40520b8caf73bf9d7e2d1
treefb6f0f7e5a45fe2dbdb996940c5f2bbedac0dfa1
parenta6717c01ddc259f6f73364779df058e2c67309f8
powerpc/rtas: allow rescheduling while changing cpu states

rtas_cpu_state_change_mask() potentially operates on scores of cpus,
so explicitly allow rescheduling in the loop body.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190802192926.19277-3-nathanl@linux.ibm.com
arch/powerpc/kernel/rtas.c