clocksource: Sched clock source for Versatile Express

This patch adds a trival sched clock source using free
running, 24MHz clocked counter present in the ARM Ltd.
reference platforms (Versatile, RealView, Versatile
Express) System Registers block.

This code replaces the call in the VE machine code.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
这个提交包含在:
Pawel Moll
2014-04-16 18:22:59 +01:00
父节点 5ee2b87779
当前提交 220e2a8d22
修改 4 个文件,包含 52 行新增2 行删除

查看文件

@@ -418,8 +418,6 @@ void __init v2m_dt_init_early(void)
pr_warning("vexpress: DT HBI (%x) is not matching "
"hardware (%x)!\n", dt_hbi, hbi);
}
versatile_sched_clock_init(vexpress_get_24mhz_clock_base(), 24000000);
}