]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: cevt-txx9: Implement read_sched_clock
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Sat, 7 Mar 2015 18:30:30 +0000 (10:30 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:30 +0000 (17:21 +0200)
commit2c744c14da08cc5769329c7a404655c776eb8093
tree59a5fab286287203328d6b19372e9aac7332145a
parent6d964b20702ebed58a7901973b914d14a52ccc41
MIPS: cevt-txx9: Implement read_sched_clock

Use txx9 up-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/9484/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-txx9.c