diff options
Diffstat (limited to 'arch/sparc/kernel/pcic.c')
-rw-r--r-- | arch/sparc/kernel/pcic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index edb6cc665f56..207f1b6eef53 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <asm/pcic.h> | 34 | #include <asm/pcic.h> |
35 | #include <asm/timer.h> | 35 | #include <asm/timer.h> |
36 | #include <asm/uaccess.h> | 36 | #include <asm/uaccess.h> |
37 | #include <asm/irq_regs.h> | ||
37 | 38 | ||
38 | 39 | ||
39 | unsigned int pcic_pin_to_irq(unsigned int pin, char *name); | 40 | unsigned int pcic_pin_to_irq(unsigned int pin, char *name); |
@@ -708,13 +709,13 @@ static void pcic_clear_clock_irq(void) | |||
708 | pcic_timer_dummy = readl(pcic0.pcic_regs+PCI_SYS_LIMIT); | 709 | pcic_timer_dummy = readl(pcic0.pcic_regs+PCI_SYS_LIMIT); |
709 | } | 710 | } |
710 | 711 | ||
711 | static irqreturn_t pcic_timer_handler (int irq, void *h, struct pt_regs *regs) | 712 | static irqreturn_t pcic_timer_handler (int irq, void *h) |
712 | { | 713 | { |
713 | write_seqlock(&xtime_lock); /* Dummy, to show that we remember */ | 714 | write_seqlock(&xtime_lock); /* Dummy, to show that we remember */ |
714 | pcic_clear_clock_irq(); | 715 | pcic_clear_clock_irq(); |
715 | do_timer(1); | 716 | do_timer(1); |
716 | #ifndef CONFIG_SMP | 717 | #ifndef CONFIG_SMP |
717 | update_process_times(user_mode(regs)); | 718 | update_process_times(user_mode(get_irq_regs())); |
718 | #endif | 719 | #endif |
719 | write_sequnlock(&xtime_lock); | 720 | write_sequnlock(&xtime_lock); |
720 | return IRQ_HANDLED; | 721 | return IRQ_HANDLED; |