summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorjohn stultz <johnstul@us.ibm.com>2010-01-16 02:01:09 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-16 21:15:38 +0100
commit355e8e8d1b0779fccb6ca1351fb73c71985e22b2 (patch)
treec38807c04771c0a72f21504ee07ec76795b19c05 /arch/m68knommu
parentserial/8250_pnp: add a new Fujitsu Wacom Tablet PC device (diff)
downloadlinux-355e8e8d1b0779fccb6ca1351fb73c71985e22b2.tar.xz
linux-355e8e8d1b0779fccb6ca1351fb73c71985e22b2.zip
m68knommu: fix invalid flags on coldfire pit clocksource
The m68knommu coldfire pit clocksource looks like it was incorrectly marked as a continuous clocksource. Running with it marked as a continuous clocksource could cause hangs when the system switches to highres mode or enables nohz. This patch removes the CLOCK_SOURCE_IS_CONTINUOUS flag on the coldfire pit clocksource. This will disallow systems using this clocksource from entering oneshot mode (disabling highres timers and nohz). Signed-off-by: John Stultz <johnstul@us.ibm.com> Acked-by: Greg Ungerer <gerg@snapgear.com> Cc: Steven King <sfking@fdwdc.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r--arch/m68knommu/platform/coldfire/pit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/coldfire/pit.c b/arch/m68knommu/platform/coldfire/pit.c
index d8720ee34510..aebea19abd78 100644
--- a/arch/m68knommu/platform/coldfire/pit.c
+++ b/arch/m68knommu/platform/coldfire/pit.c
@@ -146,7 +146,6 @@ static struct clocksource pit_clk = {
.read = pit_read_clk,
.shift = 20,
.mask = CLOCKSOURCE_MASK(32),
- .flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
/***************************************************************************/