summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-06-10 18:22:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-27 17:16:37 +0300
commit08d5470308ac3598e7709d08b8979ce6e9de8da2 (patch)
tree028dc9c3bddb3ffc923956002a4c7660639df153 /CREDITS
parent10652a9e9fe3fbcaca090f99cd3060ac3fee2913 (diff)
downloadlinux-08d5470308ac3598e7709d08b8979ce6e9de8da2.tar.xz
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 'CREDITS')
0 files changed, 0 insertions, 0 deletions