m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support
authorSebastian Siewior <bigeasy@linutronix.de>
Mon, 28 Apr 2008 09:43:04 +0000 (11:43 +0200)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 23 Jul 2008 05:11:28 +0000 (15:11 +1000)
commit2b9a69861c39ae4c232385def833816acc07a0a4
treed4edc8214ea3bb32e61128de78588cb8058cd863
parent6dbeb456baaba05d60e7ca8213da26142062408a
m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support

The PIT code has been changed in order to suppport GENERIC_CLOCKEVENTS.
The priority of the PIT clocksource has been decreased in favor of the
DMA timer.

pit_cycles_per_jiffy become a constant (PIT_CYCLES_PER_JIFFY) because it
is known at compile time and does not change afterwards.

Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/Kconfig
arch/m68knommu/kernel/time.c
arch/m68knommu/platform/coldfire/pit.c