projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86e5a52
)
MIPS: Oprofile: Loongson: Remove useless parentheses
author
Wu Zhangjin
<wuzhangjin@gmail.com>
Thu, 6 May 2010 17:29:45 +0000
(
01:29
+0800)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 21 May 2010 20:31:18 +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/1201/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_loongson2.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/oprofile/op_model_loongson2.c
b/arch/mips/oprofile/op_model_loongson2.c
index 93d8b7deb91d70540505ff444950c026df895ba1..596fb0817578978282ac18497639fa7956e1d5f4 100644
(file)
--- a/
arch/mips/oprofile/op_model_loongson2.c
+++ b/
arch/mips/oprofile/op_model_loongson2.c
@@
-66,7
+66,7
@@
static void loongson2_reg_setup(struct op_counter_config *cfg)
if (cfg[1].enabled) {
ctrl |= LOONGSON2_PERFCTRL_EVENT(1, cfg[1].event);
- reg.reset_counter2 =
(0x80000000ULL - cfg[1].count)
;
+ reg.reset_counter2 =
0x80000000ULL - cfg[1].count
;
}
if (cfg[0].enabled || cfg[1].enabled) {