]> git.baikalelectronics.ru Git - kernel.git/commit
xen: remove stray preempt_disable() from PV AP startup code
authorJuergen Gross <jgross@suse.com>
Wed, 25 Aug 2021 11:31:58 +0000 (13:31 +0200)
committerJuergen Gross <jgross@suse.com>
Wed, 1 Sep 2021 08:39:27 +0000 (10:39 +0200)
commit6a9109dae83cd63574d37775bacb0debacdee20a
tree3f39248e4f6368cbe54cce6f529b89ecb3491140
parent6037d991e67dea6c9de301768de41e27283ec80e
xen: remove stray preempt_disable() from PV AP startup code

In cpu_bringup() there is a call of preempt_disable() without a paired
preempt_enable(). This is not needed as interrupts are off initially.
Additionally this will result in early boot messages like:

BUG: scheduling while atomic: swapper/1/0/0x00000002

Signed-off-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210825113158.11716-1-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/smp_pv.c