aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/time.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-10-06 02:31:16 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-10-06 02:31:16 -0400
commit35f3c5185b1e28e6591aa649db8bf4fa16f1a7f3 (patch)
treed3057d468d36664d1accf964e76f6d97a299b40d /arch/sh/kernel/time.c
parenta700f3594d63a85af196ac64984f7375d903afad (diff)
sh: Updates for IRQ handler changes.
Trivial fixes for build breakage introduced by IRQ handler changes. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/time.c')
-rw-r--r--arch/sh/kernel/time.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c
index 1fbb83c665dd..57e708d7b52d 100644
--- a/arch/sh/kernel/time.c
+++ b/arch/sh/kernel/time.c
@@ -109,13 +109,14 @@ static long last_rtc_update;
109 * handle_timer_tick() needs to keep up the real-time clock, 109 * handle_timer_tick() needs to keep up the real-time clock,
110 * as well as call the "do_timer()" routine every clocktick 110 * as well as call the "do_timer()" routine every clocktick
111 */ 111 */
112void handle_timer_tick(struct pt_regs *regs) 112void handle_timer_tick(void)
113{ 113{
114 do_timer(1); 114 do_timer(1);
115#ifndef CONFIG_SMP 115#ifndef CONFIG_SMP
116 update_process_times(user_mode(regs)); 116 update_process_times(user_mode(get_irq_regs()));
117#endif 117#endif
118 profile_tick(CPU_PROFILING, regs); 118 if (current->pid)
119 profile_tick(CPU_PROFILING);
119 120
120#ifdef CONFIG_HEARTBEAT 121#ifdef CONFIG_HEARTBEAT
121 if (sh_mv.mv_heartbeat != NULL) 122 if (sh_mv.mv_heartbeat != NULL)