diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/char/hvsi.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/char/hvsi.c')
-rw-r--r-- | drivers/char/hvsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/hvsi.c b/drivers/char/hvsi.c index c07dc58d5c1d..2cf63e7305a3 100644 --- a/drivers/char/hvsi.c +++ b/drivers/char/hvsi.c | |||
@@ -406,7 +406,7 @@ static void hvsi_insert_chars(struct hvsi_struct *hp, const char *buf, int len) | |||
406 | hp->sysrq = 1; | 406 | hp->sysrq = 1; |
407 | continue; | 407 | continue; |
408 | } else if (hp->sysrq) { | 408 | } else if (hp->sysrq) { |
409 | handle_sysrq(c, NULL, hp->tty); | 409 | handle_sysrq(c, hp->tty); |
410 | hp->sysrq = 0; | 410 | hp->sysrq = 0; |
411 | continue; | 411 | continue; |
412 | } | 412 | } |
@@ -555,7 +555,7 @@ static void hvsi_send_overflow(struct hvsi_struct *hp) | |||
555 | * must get all pending data because we only get an irq on empty->non-empty | 555 | * must get all pending data because we only get an irq on empty->non-empty |
556 | * transition | 556 | * transition |
557 | */ | 557 | */ |
558 | static irqreturn_t hvsi_interrupt(int irq, void *arg, struct pt_regs *regs) | 558 | static irqreturn_t hvsi_interrupt(int irq, void *arg) |
559 | { | 559 | { |
560 | struct hvsi_struct *hp = (struct hvsi_struct *)arg; | 560 | struct hvsi_struct *hp = (struct hvsi_struct *)arg; |
561 | struct tty_struct *flip; | 561 | struct tty_struct *flip; |
@@ -616,7 +616,7 @@ static int __init poll_for_state(struct hvsi_struct *hp, int state) | |||
616 | unsigned long end_jiffies = jiffies + HVSI_TIMEOUT; | 616 | unsigned long end_jiffies = jiffies + HVSI_TIMEOUT; |
617 | 617 | ||
618 | for (;;) { | 618 | for (;;) { |
619 | hvsi_interrupt(hp->virq, (void *)hp, NULL); /* get pending data */ | 619 | hvsi_interrupt(hp->virq, (void *)hp); /* get pending data */ |
620 | 620 | ||
621 | if (hp->state == state) | 621 | if (hp->state == state) |
622 | return 0; | 622 | return 0; |