MIPS: Oprofile: Loongson: Remove unused variable from loongson2_cpu_setup()
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1202/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
c838abc511
commit
6d8c2873e0
1 changed files with 1 additions and 4 deletions
|
@ -88,10 +88,7 @@ static void loongson2_reg_setup(struct op_counter_config *cfg)
|
||||||
|
|
||||||
static void loongson2_cpu_setup(void *args)
|
static void loongson2_cpu_setup(void *args)
|
||||||
{
|
{
|
||||||
uint64_t perfcount;
|
write_c0_perfcnt((reg.reset_counter2 << 32) | reg.reset_counter1);
|
||||||
|
|
||||||
perfcount = (reg.reset_counter2 << 32) | reg.reset_counter1;
|
|
||||||
write_c0_perfcnt(perfcount);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void loongson2_cpu_start(void *args)
|
static void loongson2_cpu_start(void *args)
|
||||||
|
|
Loading…
Add table
Reference in a new issue