diff options
| author | John Ogness <john.ogness@linutronix.de> | 2022-04-21 23:28:37 +0206 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2022-04-22 21:30:57 +0200 |
| commit | f5343321b71ac0a1112adeab0ff90b239bad3a83 (patch) | |
| tree | e793944805460c58b5cc61e7dd3a39696b727934 /net/unix/af_unix.c | |
| parent | printk: rename cpulock functions (diff) | |
| download | linux-f5343321b71ac0a1112adeab0ff90b239bad3a83.tar.gz linux-f5343321b71ac0a1112adeab0ff90b239bad3a83.zip | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
