MIPS: csrc-bcm1480: Implement read_sched_clock
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Sat, 7 Mar 2015 18:30:26 +0000 (10:30 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:27 +0000 (17:21 +0200)
commit27acdea8fefeb6bec6f5af771df233c83aeac683
treeb634522fc3f0bd341fd9e0ecd837cab0ae72ca6b
parent788049e2d523e64fa48a9a4bce99ed93a8dc943a
MIPS: csrc-bcm1480: Implement read_sched_clock

Use the ZBbus cycle counter for sched_clock source. This implementation
will give high resolution cputime accounting.

Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: macro@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9480/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/csrc-bcm1480.c