diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-11 03:56:12 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 03:56:12 -0400 |
commit | 24fcbacedb0d83cabc6761acbecfbf751265ce52 (patch) | |
tree | 7147b206304b028c3cfd5de6317e5c8510098ca9 /drivers/serial/mpsc.c | |
parent | 2f614fe04f4463ff22234133319067d7361f54e5 (diff) | |
parent | 53a5fbdc2dff55161a206ed1a1385a8fa8055c34 (diff) |
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'drivers/serial/mpsc.c')
-rw-r--r-- | drivers/serial/mpsc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/mpsc.c b/drivers/serial/mpsc.c index 704243c9f78a..8eea69f29989 100644 --- a/drivers/serial/mpsc.c +++ b/drivers/serial/mpsc.c | |||
@@ -992,7 +992,7 @@ mpsc_make_ready(struct mpsc_port_info *pi) | |||
992 | */ | 992 | */ |
993 | 993 | ||
994 | static inline int | 994 | static inline int |
995 | mpsc_rx_intr(struct mpsc_port_info *pi, struct pt_regs *regs) | 995 | mpsc_rx_intr(struct mpsc_port_info *pi) |
996 | { | 996 | { |
997 | struct mpsc_rx_desc *rxre; | 997 | struct mpsc_rx_desc *rxre; |
998 | struct tty_struct *tty = pi->port.info->tty; | 998 | struct tty_struct *tty = pi->port.info->tty; |
@@ -1072,7 +1072,7 @@ mpsc_rx_intr(struct mpsc_port_info *pi, struct pt_regs *regs) | |||
1072 | flag = TTY_PARITY; | 1072 | flag = TTY_PARITY; |
1073 | } | 1073 | } |
1074 | 1074 | ||
1075 | if (uart_handle_sysrq_char(&pi->port, *bp, regs)) { | 1075 | if (uart_handle_sysrq_char(&pi->port, *bp)) { |
1076 | bp++; | 1076 | bp++; |
1077 | bytes_in--; | 1077 | bytes_in--; |
1078 | goto next_frame; | 1078 | goto next_frame; |
@@ -1257,7 +1257,7 @@ mpsc_tx_intr(struct mpsc_port_info *pi) | |||
1257 | * handling those descriptors, we restart the Rx/Tx engines if they're stopped. | 1257 | * handling those descriptors, we restart the Rx/Tx engines if they're stopped. |
1258 | */ | 1258 | */ |
1259 | static irqreturn_t | 1259 | static irqreturn_t |
1260 | mpsc_sdma_intr(int irq, void *dev_id, struct pt_regs *regs) | 1260 | mpsc_sdma_intr(int irq, void *dev_id) |
1261 | { | 1261 | { |
1262 | struct mpsc_port_info *pi = dev_id; | 1262 | struct mpsc_port_info *pi = dev_id; |
1263 | ulong iflags; | 1263 | ulong iflags; |
@@ -1267,7 +1267,7 @@ mpsc_sdma_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
1267 | 1267 | ||
1268 | spin_lock_irqsave(&pi->port.lock, iflags); | 1268 | spin_lock_irqsave(&pi->port.lock, iflags); |
1269 | mpsc_sdma_intr_ack(pi); | 1269 | mpsc_sdma_intr_ack(pi); |
1270 | if (mpsc_rx_intr(pi, regs)) | 1270 | if (mpsc_rx_intr(pi)) |
1271 | rc = IRQ_HANDLED; | 1271 | rc = IRQ_HANDLED; |
1272 | if (mpsc_tx_intr(pi)) | 1272 | if (mpsc_tx_intr(pi)) |
1273 | rc = IRQ_HANDLED; | 1273 | rc = IRQ_HANDLED; |