aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tc/zs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tc/zs.c')
-rw-r--r--drivers/tc/zs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c
index 622881f26761..792becdfe6f8 100644
--- a/drivers/tc/zs.c
+++ b/drivers/tc/zs.c
@@ -347,7 +347,7 @@ static void rs_sched_event(struct dec_serial *info, int event)
347 tasklet_schedule(&info->tlet); 347 tasklet_schedule(&info->tlet);
348} 348}
349 349
350static void receive_chars(struct dec_serial *info, struct pt_regs *regs) 350static void receive_chars(struct dec_serial *info)
351{ 351{
352 struct tty_struct *tty = info->tty; 352 struct tty_struct *tty = info->tty;
353 unsigned char ch, stat, flag; 353 unsigned char ch, stat, flag;
@@ -389,7 +389,7 @@ static void receive_chars(struct dec_serial *info, struct pt_regs *regs)
389 if (ch == 0) 389 if (ch == 0)
390 continue; 390 continue;
391 if (time_before(jiffies, break_pressed + HZ * 5)) { 391 if (time_before(jiffies, break_pressed + HZ * 5)) {
392 handle_sysrq(ch, regs, NULL); 392 handle_sysrq(ch, NULL);
393 break_pressed = 0; 393 break_pressed = 0;
394 continue; 394 continue;
395 } 395 }
@@ -490,7 +490,7 @@ static void status_handle(struct dec_serial *info)
490/* 490/*
491 * This is the serial driver's generic interrupt routine 491 * This is the serial driver's generic interrupt routine
492 */ 492 */
493static irqreturn_t rs_interrupt(int irq, void *dev_id, struct pt_regs *regs) 493static irqreturn_t rs_interrupt(int irq, void *dev_id)
494{ 494{
495 struct dec_serial *info = (struct dec_serial *) dev_id; 495 struct dec_serial *info = (struct dec_serial *) dev_id;
496 irqreturn_t status = IRQ_NONE; 496 irqreturn_t status = IRQ_NONE;
@@ -518,7 +518,7 @@ static irqreturn_t rs_interrupt(int irq, void *dev_id, struct pt_regs *regs)
518 status = IRQ_HANDLED; 518 status = IRQ_HANDLED;
519 519
520 if (zs_intreg & CHBRxIP) { 520 if (zs_intreg & CHBRxIP) {
521 receive_chars(info, regs); 521 receive_chars(info);
522 } 522 }
523 if (zs_intreg & CHBTxIP) { 523 if (zs_intreg & CHBTxIP) {
524 transmit_chars(info); 524 transmit_chars(info);