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

Use jz4740 timer 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/9485/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/time.c