linux/drivers/clocksource
Ezequiel Garcia c813eff078 clocksource: armada-370-xp: Register sched_clock after the counter reset
This commit registers the sched_clock _after_ the counter reset
(instead of before). This removes the timestamp 'jump' in kernel
log messages.

Before this change:

[    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798691800ns
[    0.000000] Initializing Coherency fabric
[    0.000000] Aurora cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x00000100, AUX_CTRL 0x1a696b12, Cache size: 1024 kB
[  163.507447] Calibrating delay loop... 1325.05 BogoMIPS (lpj=662528)
[  163.521419] pid_max: default: 32768 minimum: 301
[  163.526185] Mount-cache hash table entries: 512
[  163.531095] CPU: Testing write buffer coherency: ok

After this change:

[    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798691800ns
[    0.000000] Initializing Coherency fabric
[    0.000000] Aurora cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x00000100, AUX_CTRL 0x1a696b12, Cache size: 1024 kB
[    0.016849] Calibrating delay loop... 1325.05 BogoMIPS (lpj=662528)
[    0.030820] pid_max: default: 32768 minimum: 301
[    0.035588] Mount-cache hash table entries: 512
[    0.040500] CPU: Testing write buffer coherency: ok

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Jason Cooper <jason@lakedaemon.net>
2013-12-10 19:41:27 +01:00
..
acpi_pm.c
arm_arch_timer.c clocksource: arch_timer: Do not register arch_sys_counter twice 2013-10-16 08:30:03 +02:00
arm_global_timer.c clocksource/arm_global_timer: Set FEAT_PERCPU flag 2013-10-02 11:33:46 +02:00
bcm2835_timer.c
bcm_kona_timer.c
cadence_ttc_timer.c
clksrc-dbx500-prcmu.c
clksrc-of.c Merge branch 'clockevents/3.13' of git://git.linaro.org/people/dlezcano/linux into timers/core 2013-10-03 07:57:02 +02:00
cs5535-clockevt.c
cyclone.c
dummy_timer.c
dw_apb_timer_of.c clocksource: dw_apb_timer_of: Mark a few more functions as __init 2013-10-02 11:43:15 +02:00
dw_apb_timer.c
em_sti.c clocksource: em_sti: convert to clk_prepare/unprepare 2013-10-22 22:36:24 +02:00
exynos_mct.c
i8253.c
Kconfig clocksource: time-efm32: Select CLKSRC_MMIO 2013-12-10 19:41:26 +01:00
Makefile clocksource: Provide timekeeping for efm32 SoCs 2013-10-22 22:36:33 +02:00
metag_generic.c
mmio.c
moxart_timer.c
mxs_timer.c
nomadik-mtu.c Merge remote-tracking branch 'tip/timers/core' into fordlezcano/3.13/sched-clock64-conversion 2013-09-26 12:05:54 -07:00
samsung_pwm_timer.c Merge remote-tracking branch 'tip/timers/core' into fordlezcano/3.13/sched-clock64-conversion 2013-09-26 12:05:54 -07:00
scx200_hrt.c
sh_cmt.c
sh_mtu2.c clocksource: sh_mtu2: Add clk_prepare/unprepare support 2013-11-20 21:55:22 +01:00
sh_tmu.c clocksource: sh_tmu: Add clk_prepare/unprepare support 2013-11-20 21:55:24 +01:00
sun4i_timer.c clocksource: sun4i: remove IRQF_DISABLED 2013-10-22 22:36:50 +02:00
tcb_clksrc.c clocksource: tcb_clksrc: Remove IRQF_DISABLED 2013-10-03 16:28:40 +02:00
tegra20_timer.c clocksource: Put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally 2013-10-02 11:42:48 +02:00
time-armada-370-xp.c clocksource: armada-370-xp: Register sched_clock after the counter reset 2013-12-10 19:41:27 +01:00
time-efm32.c clocksource: Provide timekeeping for efm32 SoCs 2013-10-22 22:36:33 +02:00
time-orion.c
timer-marco.c
timer-prima2.c
vf_pit_timer.c
vt8500_timer.c clocksource: Put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally 2013-10-02 11:42:48 +02:00
zevio-timer.c