[POWERPC] Implement clockevents driver for powerpc
authorTony Breeds <tony@bakeyournoodle.com>
Fri, 21 Sep 2007 03:26:03 +0000 (13:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 05:44:34 +0000 (15:44 +1000)
commitd831d0b83f205888f4be4dee0a074ad67ef809b3
tree74a62c45f88d8c060c487777d27cb55768009113
parentab3e975e7c8b5efb452bdb0d06c1cb7399f83979
[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>
arch/powerpc/Kconfig
arch/powerpc/kernel/smp.c
arch/powerpc/kernel/time.c
include/asm-powerpc/time.h