| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 2/5] Oprofile: Loongson: Remove unneeded Parentheses |
| From: | Wu Zhangjin <wuzhangjin@gmail.com> |
| Date: | Fri, 7 May 2010 01:29:45 +0800 |
| Cc: | linux-mips@linux-mips.org, Wu Zhangjin <wuzhangjin@gmail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=cGxNLxtGAmwMoBTLvay6CnmQHy0RaPXjevi0hWlWRrs=; b=pETGg2fayTpBsISVxay4I/92bAJxWpmiYZNmh8JiuF+RYT77b+hDmfs8DqDFLqmgUx HrKe6tCXNd0a6SBLDRnNqlhZCzaH/f4rC7QAXl/79A2BnHPBym03cbXPuXkf/AUvbiEW kY30h6Dww1kz4/Dx/n9Hp7rU4lkFIOecZy5vM= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=VJTJxLJHetvUdzqcPCLMfdciGrs3z0eufr17vlbh+dzrgEn8uPn5Cs/GI0RNMyy1uQ AxMC3jqAnZQpBhODhgXuxXa29G0Cl8hqjp1c3bGC+9Nqvi1LW6aqwz48Ztsmt37q728w alqS6Ug94HiTK2g0hZ6uRf4K8sntxm8jHn1DY= |
| In-reply-to: | <cover.1273165681.git.wuzhangjin@gmail.com> |
| In-reply-to: | <cover.1273166351.git.wuzhangjin@gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <cover.1273165681.git.wuzhangjin@gmail.com> |
| References: | <cover.1273166351.git.wuzhangjin@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
arch/mips/oprofile/op_model_loongson2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/oprofile/op_model_loongson2.c
b/arch/mips/oprofile/op_model_loongson2.c
index afa0d7c..e2696d9 100644
--- a/arch/mips/oprofile/op_model_loongson2.c
+++ b/arch/mips/oprofile/op_model_loongson2.c
@@ -72,7 +72,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) {
--
1.7.0
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/5] Oprofile: Loongson: add an unified macro for setting events, Wu Zhangjin |
|---|---|
| Next by Date: | [PATCH 3/5] Oprofile: Loongson: Remove unneeded variable from loongson2_cpu_setup(), Wu Zhangjin |
| Previous by Thread: | Re: [PATCH 1/5] Oprofile: Loongson: add an unified macro for setting events, Ralf Baechle |
| Next by Thread: | Re: [PATCH 2/5] Oprofile: Loongson: Remove unneeded Parentheses, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |