diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-01-18 15:05:11 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-02-03 11:34:27 +0000 |
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 8c57dd3680e..5bff28839cb 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c @@ -149,8 +149,6 @@ void __init time_init(void) { system_timer = machine_desc->timer; system_timer->init(); -#ifdef CONFIG_HAVE_SCHED_CLOCK sched_clock_postinit(); -#endif } |