projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e480af0
)
[SERIAL] Magic SysRq SAK does nothing on serial consoles
author
Simon Tatham
<anakin@pobox.com>
Mon, 25 Sep 2006 23:51:28 +0000
(16:51 -0700)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 1 Oct 2006 19:03:20 +0000
(20:03 +0100)
Make sysrq-K work on serial console by passing in the tty.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/linux/serial_core.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/serial_core.h
b/include/linux/serial_core.h
index f9fdf97506eade00a210265477f9d112eedfb176..de2e68159d96e885eef6aea5996bb25f6e1eb25e 100644
(file)
--- a/
include/linux/serial_core.h
+++ b/
include/linux/serial_core.h
@@
-415,7
+415,7
@@
uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
#ifdef SUPPORT_SYSRQ
if (port->sysrq) {
if (ch && time_before(jiffies, port->sysrq)) {
- handle_sysrq(ch, regs,
NULL
);
+ handle_sysrq(ch, regs,
port->info->tty
);
port->sysrq = 0;
return 1;
}