summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-l7200/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-l7200/time.h')
-rw-r--r--include/asm-arm/arch-l7200/time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/arch-l7200/time.h b/include/asm-arm/arch-l7200/time.h
index c69cb508735f..ea22f7fff9cd 100644
--- a/include/asm-arm/arch-l7200/time.h
+++ b/include/asm-arm/arch-l7200/time.h
@@ -43,8 +43,9 @@
* Handler for RTC timer interrupt
*/
static irqreturn_t
-timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+timer_interrupt(int irq, void *dev_id)
{
+ struct pt_regs *regs = get_irq_regs();
do_timer(1);
#ifndef CONFIG_SMP
update_process_times(user_mode(regs));