aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2020-06-10 17:22:31 +0200
committerGreg Kroah-Hartman <[email protected]>2020-06-27 16:16:37 +0200
commit08d5470308ac3598e7709d08b8979ce6e9de8da2 (patch)
tree028dc9c3bddb3ffc923956002a4c7660639df153 /scripts/gdb/linux/config.py
parent10652a9e9fe3fbcaca090f99cd3060ac3fee2913 (diff)
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 <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Cc: stable <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Dmitry Safonov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions