diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2007-09-20 23:26:03 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 01:44:34 -0400 |
commit | d831d0b83f205888f4be4dee0a074ad67ef809b3 (patch) | |
tree | 74a62c45f88d8c060c487777d27cb55768009113 /arch/powerpc/Kconfig | |
parent | ab3e975e7c8b5efb452bdb0d06c1cb7399f83979 (diff) |
[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 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 6819a94f2cac..a46f8116f476 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -35,6 +35,9 @@ config GENERIC_TIME | |||
35 | config GENERIC_TIME_VSYSCALL | 35 | config GENERIC_TIME_VSYSCALL |
36 | def_bool y | 36 | def_bool y |
37 | 37 | ||
38 | config GENERIC_CLOCKEVENTS | ||
39 | def_bool y | ||
40 | |||
38 | config GENERIC_HARDIRQS | 41 | config GENERIC_HARDIRQS |
39 | bool | 42 | bool |
40 | default y | 43 | default y |