summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-recovery.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-06-10 17:22:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-27 16:16:37 +0200
commit08d5470308ac3598e7709d08b8979ce6e9de8da2 (patch)
tree028dc9c3bddb3ffc923956002a4c7660639df153 /drivers/lightnvm/pblk-recovery.c
parentRevert "serial: core: Refactor uart_unlock_and_check_sysrq()" (diff)
downloadlinux-08d5470308ac3598e7709d08b8979ce6e9de8da2.tar.xz
linux-08d5470308ac3598e7709d08b8979ce6e9de8da2.zip
serial: core: fix sysrq overhead regression
Commit 8e20fc391711 ("serial_core: Move sysrq functions from header file") converted the inline sysrq helpers to exported functions which are now called for every received character, interrupt and break signal also on systems without CONFIG_MAGIC_SYSRQ_SERIAL instead of being optimised away by the compiler. Inlining these helpers again also avoids the function call overhead when CONFIG_MAGIC_SYSRQ_SERIAL is enabled (e.g. when the port is not used as a console). Fixes: 8e20fc391711 ("serial_core: Move sysrq functions from header file") Cc: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org> Cc: stable <stable@vger.kernel.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Link: https://lore.kernel.org/r/20200610152232.16925-3-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/lightnvm/pblk-recovery.c')
0 files changed, 0 insertions, 0 deletions