stop_machine: Use raw spinlocks
authorThomas Gleixner <tglx@linutronix.de>
Mon, 23 Apr 2018 19:16:35 +0000 (21:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:55:24 +0000 (07:55 +0200)
commit7d044d940faeb6a7e65a1d215415e425822f365c
tree588bb591aa5e3dcd9f8ff081d81c81a131175f2c
parent68f96e54102997ae9e956e2e434ce3befccc181e
stop_machine: Use raw spinlocks

[ Upstream commit de5b55c1d4e30740009864eb35ce4ed856aac01d ]

Use raw-locks in stop_machine() to allow locking in irq-off and
preempt-disabled regions on -RT. This also documents the possible locking
context in general.

[bigeasy: update patch description.]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lkml.kernel.org/r/20180423191635.6014-1-bigeasy@linutronix.de
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/stop_machine.c