diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 11:46:04 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 11:46:04 -0400 |
commit | 513b046c96cc2fbce730a3474f6f7ff0c4fdd05c (patch) | |
tree | e8006368b6f643067486f92405a404757807d6da /drivers/tc/zs.c | |
parent | 82810b7b6cc7a74c68881a13b0eb66c7a6370fcc (diff) | |
parent | c7a3bd177f248d01ee18a01d22048c80e071c331 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/tc/zs.c')
-rw-r--r-- | drivers/tc/zs.c | 8 |
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 | ||
350 | static void receive_chars(struct dec_serial *info, struct pt_regs *regs) | 350 | static 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 | */ |
493 | static irqreturn_t rs_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 493 | static 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); |