]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf41deeebcaaff35c7c96bb88ab2845a893ec5b56
treeb634522fc3f0bd341fd9e0ecd837cab0ae72ca6b
parenteebcaaeccb0589515b573bfb345c83415bb247c3
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