projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c838abc
)
MIPS: Oprofile: Loongson: Remove unused variable from loongson2_cpu_setup()
author
Wu Zhangjin
<wuzhangjin@gmail.com>
Thu, 6 May 2010 17:29:46 +0000
(
01:29
+0800)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 21 May 2010 20:31:19 +0000
(21:31 +0100)
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>
arch/mips/oprofile/op_model_loongson2.c
patch
|
blob
|
history
diff --git
a/arch/mips/oprofile/op_model_loongson2.c
b/arch/mips/oprofile/op_model_loongson2.c
index
596fb08
..
deefcee
100644
(file)
--- a/
arch/mips/oprofile/op_model_loongson2.c
+++ b/
arch/mips/oprofile/op_model_loongson2.c
@@
-88,10
+88,7
@@
static void loongson2_reg_setup(struct op_counter_config *cfg)
static void loongson2_cpu_setup(void *args)
{
- uint64_t perfcount;
-
- perfcount = (reg.reset_counter2 << 32) | reg.reset_counter1;
- write_c0_perfcnt(perfcount);
+ write_c0_perfcnt((reg.reset_counter2 << 32) | reg.reset_counter1);
}
static void loongson2_cpu_start(void *args)