diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-01-18 10:05:11 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-02-03 06:34:27 -0500 |
commit | 6905a65879b51d326396e63dfea40861a30bc17f (patch) | |
tree | 45551c601c45cbfcfe87d346bb5c59fcbdd6d4fe /arch/arm/kernel/time.c | |
parent | bc8d849d9171a2014f8e9b0322f3ac5af9d3f2b2 (diff) |
ARM: Make the sched_clock framework mandatory
All sched_clock() providers have been converted to the sched_clock
framework, which also provides a jiffy based implementation for
the platforms that do not provide a counter.
It is now possible to make the sched_clock framework mandatory,
effectively preventing new platforms to add new sched_clock()
functions, which would be detrimental to the single zImage work.
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kernel/time.c')
-rw-r--r-- | arch/arm/kernel/time.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 8c57dd3680e9..5bff28839cb2 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -149,8 +149,6 @@ void __init time_init(void) | |||
149 | { | 149 | { |
150 | system_timer = machine_desc->timer; | 150 | system_timer = machine_desc->timer; |
151 | system_timer->init(); | 151 | system_timer->init(); |
152 | #ifdef CONFIG_HAVE_SCHED_CLOCK | ||
153 | sched_clock_postinit(); | 152 | sched_clock_postinit(); |
154 | #endif | ||
155 | } | 153 | } |
156 | 154 | ||