diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-15 16:58:50 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-05 06:16:00 -0500 |
commit | 0af85dda39d9b673aca8c0ebae004ea70f3efc93 (patch) | |
tree | a3fad536f3c5cb4e91291efeb26eca93c2f37fd2 /arch/arm/plat-versatile | |
parent | 1da0c89c66753860ccfe81eb327c25db46c2a24a (diff) |
ARM: vexpress: add sched_clock() for Versatile Express
Add a sched_clock() implementation to Versatile Express using the new
sched_clock() infrastructure for extending 32bit counters to full
64-bit nanoseconds.
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile')
-rw-r--r-- | arch/arm/plat-versatile/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/plat-versatile/Makefile b/arch/arm/plat-versatile/Makefile index 5cf88e8427b1..8bb6ba6d3572 100644 --- a/arch/arm/plat-versatile/Makefile +++ b/arch/arm/plat-versatile/Makefile | |||
@@ -1,7 +1,8 @@ | |||
1 | obj-y := clock.o | 1 | obj-y := clock.o |
2 | obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o | 2 | obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o |
3 | obj-$(CONFIG_ARCH_REALVIEW) += sched-clock.o | 3 | ifneq ($(CONFIG_ARCH_INTEGRATOR),y) |
4 | obj-$(CONFIG_ARCH_VERSATILE) += sched-clock.o | 4 | obj-y += sched-clock.o |
5 | endif | ||
5 | ifeq ($(CONFIG_LEDS_CLASS),y) | 6 | ifeq ($(CONFIG_LEDS_CLASS),y) |
6 | obj-$(CONFIG_ARCH_REALVIEW) += leds.o | 7 | obj-$(CONFIG_ARCH_REALVIEW) += leds.o |
7 | obj-$(CONFIG_ARCH_VERSATILE) += leds.o | 8 | obj-$(CONFIG_ARCH_VERSATILE) += leds.o |