aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorDmitry Safonov <[email protected]>2019-12-13 00:06:18 +0000
committerGreg Kroah-Hartman <[email protected]>2019-12-18 15:04:49 +0100
commitaa3479d2e677cddb60686afec0c4c1d4ff7f7178 (patch)
treeb700e2fdcabe93667ea3d7f7ab0816ed549038b5 /tools/perf/scripts/python/stat-cpi.py
parent4d9ec1c0ced6e03a9cab04986f88ac66d6ef984e (diff)
tty/serial: Migrate imx to use has_sysrq
The SUPPORT_SYSRQ ifdeffery is not nice as: - May create misunderstanding about sizeof(struct uart_port) between different objects - Prevents moving functions from serial_core.h - Reduces readability (well, it's ifdeffery - it's hard to follow) In order to remove SUPPORT_SYSRQ, has_sysrq variable has been added. Initialise it in driver's probe and remove ifdeffery. Cc: Fabio Estevam <[email protected]> Cc: NXP Linux Team <[email protected]> Cc: Pengutronix Kernel Team <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Shawn Guo <[email protected]> Cc: [email protected] Signed-off-by: Dmitry Safonov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions