ARM: integrator: add Integrator/CP sched_clock support
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 22 Jan 2011 11:37:54 +0000 (11:37 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Feb 2011 11:11:46 +0000 (11:11 +0000)
commitd77e270c53a4911d23ded9f4ab8b175a3fe3bb34
tree7ef42283816f32d55389026e51d6e9fdcae84f7a
parent0462b4477ea3260304bbcd97c64c0b704b4f0f85
ARM: integrator: add Integrator/CP sched_clock support

Integrator/CP has the 24MHz counter which Versatile and later platforms
also have, which we use for sched_clock support.  Allow this counter to
be used when building a kernel targetting Integrator/CP alone.
Integrator/AP does not have this counter, so we must exclude support
for the Integrator family when this is enabled.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-integrator/integrator_cp.c
arch/arm/plat-versatile/Kconfig