]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: fix invalid flags on coldfire pit clocksource
authorjohn stultz <johnstul@us.ibm.com>
Sat, 16 Jan 2010 01:01:09 +0000 (17:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2010 20:15:38 +0000 (12:15 -0800)
commitd1938b632e49e83d647d38bfa7101467b665dc47
treec38807c04771c0a72f21504ee07ec76795b19c05
parentf91fabca37d9988040c3e2388419e27842141f38
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>
arch/m68knommu/platform/coldfire/pit.c