sh-sci: SysRq support on EARLYCON
Subsystems (2)
Yoshinori Sato
maintainerPATCH 1/1 sh-sci: SysRq support on EARLYCON
Add missing flag condition.
Signed-off-by Yoshinori Sato <[email protected]>
--- drivers/tty/serial/sh-sci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/tty/serial/sh-sci.c +3 -1
@@ -18,7 +18,9 @@* License. See the file "COPYING" in the main directory of this archive * for more details. */ -#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE ) && defined(CONFIG_MAGIC_SYSRQ ) +#if (defined(CONFIG_SERIAL_SH_SCI_CONSOLE ) || \ + defined(CONFIG_SERIAL_SH_SCI_EARLYCON )) && \ + defined(CONFIG_MAGIC_SYSRQ )#define SUPPORT_SYSRQ #endif
Signature · 1 line
2.7.0
Hi Sato-san,
CC linux-serial
Quoted 3 lines · Yoshinori Sato
Add missing flag condition.
Signed-off-by Yoshinori Sato <[email protected]>
Unfortunately magic SysRq only works if CONFIG_SERIAL_SH_SCI_DMA=n.
Quoted 9 lines
--- drivers/tty/serial/sh-sci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)drivers/tty/serial/sh-sci.c +0
-0
drivers/tty/serial/sh-sci.c line 25
Quoted 9 lines
drivers/tty/serial/sh-sci.c +3
-1@@ -18,7 +18,9 @@* License. See the file "COPYING" in the main directory of this archive * for more details. */ -#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE ) && defined(CONFIG_MAGIC_SYSRQ ) +#if (defined(CONFIG_SERIAL_SH_SCI_CONSOLE ) || \ + defined(CONFIG_SERIAL_SH_SCI_EARLYCON )) && \ + defined(CONFIG_MAGIC_SYSRQ )#define SUPPORT_SYSRQ #endif
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds