git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix spelling error in include/linux/kernel.h
[safe/jmp/linux-2.6]
/
include
/
linux
/
serial_core.h
diff --git
a/include/linux/serial_core.h
b/include/linux/serial_core.h
index
b661c19
..
463ab95
100644
(file)
--- a/
include/linux/serial_core.h
+++ b/
include/linux/serial_core.h
@@
-409,13
+409,12
@@
int uart_resume_port(struct uart_driver *reg, struct uart_port *port);
* The following are helper functions for the low level drivers.
*/
static inline int
* The following are helper functions for the low level drivers.
*/
static inline int
-uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
- struct pt_regs *regs)
+uart_handle_sysrq_char(struct uart_port *port, unsigned int ch)
{
#ifdef SUPPORT_SYSRQ
if (port->sysrq) {
if (ch && time_before(jiffies, port->sysrq)) {
{
#ifdef SUPPORT_SYSRQ
if (port->sysrq) {
if (ch && time_before(jiffies, port->sysrq)) {
- handle_sysrq(ch,
regs,
port->info->tty);
+ handle_sysrq(ch, port->info->tty);
port->sysrq = 0;
return 1;
}
port->sysrq = 0;
return 1;
}
@@
-425,7
+424,7
@@
uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
return 0;
}
#ifndef SUPPORT_SYSRQ
return 0;
}
#ifndef SUPPORT_SYSRQ
-#define uart_handle_sysrq_char(port,ch
,regs) uart_handle_sysrq_char(port, 0, NULL
)
+#define uart_handle_sysrq_char(port,ch
) uart_handle_sysrq_char(port, 0
)
#endif
/*
#endif
/*