summaryrefslogtreecommitdiff
path: root/kernel/printk
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2022-04-22 00:22:37 +0300
committerPetr Mladek <pmladek@suse.com>2022-04-22 22:30:57 +0300
commitf5343321b71ac0a1112adeab0ff90b239bad3a83 (patch)
treee793944805460c58b5cc61e7dd3a39696b727934 /kernel/printk
parentfaebd693c59387b7b765fab64b543855e15a91b4 (diff)
downloadlinux-f5343321b71ac0a1112adeab0ff90b239bad3a83.tar.xz
printk: cpu sync always disable interrupts
The CPU sync functions are a NOP for !CONFIG_SMP. But for !CONFIG_SMP they still need to disable interrupts in order to preserve context within the CPU sync sections. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20220421212250.565456-3-john.ogness@linutronix.de
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions