Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b9a69...
Commit: 2b9a69861c39ae4c232385def833816acc07a0a4
Parent: 6dbeb456baaba05d60e7ca8213da26142062408a
Author: Sebastian Siewior <bigeasy@linutronix.de>
AuthorDate: Mon Apr 28 11:43:04 2008 +0200
Committer: Greg Ungerer <gerg@uclinux.org>
CommitDate: Wed Jul 23 15:11:28 2008 +1000
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 | 11 ++++
arch/m68knommu/kernel/time.c | 2 +
arch/m68knommu/platform/coldfire/pit.c | 91 +++++++++++++++++++++++++++-----
3 files changed, 91 insertions(+), 13 deletions(-)
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig
index bfd3530..2e7515e 100644
--- a/arch/m68knommu/Kconfig
+++ b/arch/m68knommu/Kconfig
@@ -66,6 +66,10 @@ config TIME_LOW_RES
bool
default y
+config GENERIC_CLOCKEVENTS
+ bool
+ default n
+
config NO_IOPORT
def_bool y
@@ -112,11 +116,13 @@ config M5206e
config M520x
bool "MCF520x"
+ select GENERIC_CLOCKEVENTS
help
Freescale Coldfire 5207/5208 processor support.
config M523x
bool "MCF523x"
+ select GENERIC_CLOCKEVENTS
help
Freescale Coldfire 5230/1/2/4/5 processor support
@@ -142,6 +148,7 @@ config M5275
config M528x
bool "MCF528x"
+ select GENERIC_CLOCKEVENTS
help
Motorola ColdFire 5280/5282 processor support.
@@ -165,6 +172,7 @@ endchoice
config ...