diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2007-09-21 13:26:03 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 15:44:34 +1000 |
commit | d831d0b83f205888f4be4dee0a074ad67ef809b3 (patch) | |
tree | 74a62c45f88d8c060c487777d27cb55768009113 /include/asm-powerpc/time.h | |
parent | ab3e975e7c8b5efb452bdb0d06c1cb7399f83979 (diff) | |
download | op-kernel-dev-d831d0b83f205888f4be4dee0a074ad67ef809b3.zip op-kernel-dev-d831d0b83f205888f4be4dee0a074ad67ef809b3.tar.gz |
[POWERPC] Implement clockevents driver for powerpc
This registers a clock event structure for the decrementer and turns
on CONFIG_GENERIC_CLOCKEVENTS, which means that we now don't need
most of timer_interrupt(), since the work is done in generic code.
For secondary CPUs, their decrementer clockevent is registered when
the CPU comes up (the generic code automatically removes the
clockevent when the CPU goes down).
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/time.h')
-rw-r--r-- | include/asm-powerpc/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/time.h b/include/asm-powerpc/time.h index fa331da..f058955 100644 --- a/include/asm-powerpc/time.h +++ b/include/asm-powerpc/time.h @@ -245,6 +245,7 @@ extern void snapshot_timebases(void); #define snapshot_timebases() do { } while (0) #endif +extern void secondary_cpu_time_init(void); extern void iSeries_time_init_early(void); #endif /* __KERNEL__ */ |