diff options
author | Pavel Machek <pavel@denx.de> | 2013-05-07 22:11:26 +0200 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-05-28 23:00:58 +0200 |
commit | 55a68c23e0a675b2b8ac2656fd6edbf98b78e4c6 (patch) | |
tree | b36789476bf234c322f8200dc26b040f9abd80ee /arch | |
parent | ktime: Add __must_check prefix to ktime_to_timespec_cond (diff) | |
download | linux-55a68c23e0a675b2b8ac2656fd6edbf98b78e4c6.tar.xz linux-55a68c23e0a675b2b8ac2656fd6edbf98b78e4c6.zip |
dw_apb_timer_of.c: Remove parts that were picoxcell-specific
It seems we made a mistake when creating dw_apb_timer_of.c:
picoxcell sched_clock had parts that were not related to
dw_apb_timer, yet we moved them to dw_apb_timer_of, and tried to
use them on socfpga.
This results in system where user/system time is not measured
properly, as demonstrated by
time dd if=/dev/urandom of=/dev/zero bs=100000 count=100
So this patch switches sched_clock to hardware that exists on both
platforms, and adds missing of_node_put() in dw_apb_timer_init().
Signed-off-by: Pavel Machek <pavel@denx.de>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-picoxcell/common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-picoxcell/common.h b/arch/arm/mach-picoxcell/common.h index 481b42a4ef15..237fb3bcbd04 100644 --- a/arch/arm/mach-picoxcell/common.h +++ b/arch/arm/mach-picoxcell/common.h @@ -12,6 +12,4 @@ #include <asm/mach/time.h> -extern void dw_apb_timer_init(void); - #endif /* __PICOXCELL_COMMON_H__ */ |