diff options
Diffstat (limited to 'arch/ppc/kernel/time.c')
-rw-r--r-- | arch/ppc/kernel/time.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/ppc/kernel/time.c b/arch/ppc/kernel/time.c index 22d7fd1e0aea..76f44ce4772e 100644 --- a/arch/ppc/kernel/time.c +++ b/arch/ppc/kernel/time.c | |||
@@ -121,6 +121,15 @@ unsigned long profile_pc(struct pt_regs *regs) | |||
121 | EXPORT_SYMBOL(profile_pc); | 121 | EXPORT_SYMBOL(profile_pc); |
122 | #endif | 122 | #endif |
123 | 123 | ||
124 | void wakeup_decrementer(void) | ||
125 | { | ||
126 | set_dec(tb_ticks_per_jiffy); | ||
127 | /* No currently-supported powerbook has a 601, | ||
128 | * so use get_tbl, not native | ||
129 | */ | ||
130 | last_jiffy_stamp(0) = tb_last_stamp = get_tbl(); | ||
131 | } | ||
132 | |||
124 | /* | 133 | /* |
125 | * timer_interrupt - gets called when the decrementer overflows, | 134 | * timer_interrupt - gets called when the decrementer overflows, |
126 | * with interrupts disabled. | 135 | * with interrupts disabled. |