diff options
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; |