MIPS: csrc-sb1250: Extract hpt cycle acquisition from sb1250_hpt_read
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Sat, 7 Mar 2015 18:30:32 +0000 (10:30 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:33 +0000 (17:21 +0200)
commit02710fc8512f77597e9fa68d2d00000107b84242
treede75053ec069b819eff76c0fc489bff36ef4d835
parent944081ac53c38f7f2b86165553bf9d4aa9fd5d97
MIPS: csrc-sb1250: Extract hpt cycle acquisition from sb1250_hpt_read

This is to prepare for the upcoming read_sched_clock implementation, which
will also need to get cycles from the high precision timer.

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/9486/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/csrc-sb1250.c