aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/gt64120/common/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/gt64120/common/time.c')
-rw-r--r--arch/mips/gt64120/common/time.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/gt64120/common/time.c b/arch/mips/gt64120/common/time.c
index 7feca49350d1..b203169f19ce 100644
--- a/arch/mips/gt64120/common/time.c
+++ b/arch/mips/gt64120/common/time.c
@@ -10,6 +10,7 @@
10#include <linux/kernel.h> 10#include <linux/kernel.h>
11#include <linux/sched.h> 11#include <linux/sched.h>
12#include <linux/kernel_stat.h> 12#include <linux/kernel_stat.h>
13#include <asm/irq_regs.h>
13#include <asm/ptrace.h> 14#include <asm/ptrace.h>
14#include <asm/gt64120.h> 15#include <asm/gt64120.h>
15 16
@@ -19,7 +20,7 @@
19 * differently than other MIPS interrupts. 20 * differently than other MIPS interrupts.
20 */ 21 */
21 22
22static void gt64120_irq(int irq, void *dev_id, struct pt_regs *regs) 23static void gt64120_irq(int irq, void *dev_id)
23{ 24{
24 unsigned int irq_src, int_high_src, irq_src_mask, int_high_src_mask; 25 unsigned int irq_src, int_high_src, irq_src_mask, int_high_src_mask;
25 int handled = 0; 26 int handled = 0;
@@ -36,7 +37,7 @@ static void gt64120_irq(int irq, void *dev_id, struct pt_regs *regs)
36 irq_src &= ~0x00000800; 37 irq_src &= ~0x00000800;
37 do_timer(1); 38 do_timer(1);
38#ifndef CONFIG_SMP 39#ifndef CONFIG_SMP
39 update_process_times(user_mode(regs)); 40 update_process_times(user_mode(get_irq_regs()));
40#endif 41#endif
41 } 42 }
42 43