| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH -queue] loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Sun, 21 Feb 2010 18:46:22 +0100 |
| Cc: | wuzhangjin@gmail.com, ralf@linux-mips.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:date:subject :mime-version:x-uid:x-length:to:cc:reply-to:content-type :content-transfer-encoding:message-id; bh=HNwnWDKsWc10LSIWnPKgI72RMxfLqyoBZzqW1fOhnv4=; b=koruia2K1efuVBJq1cFmAxX1uKZoztMnGkINd/UIthB6WNZrdPoQ9ylFSMrwuTv3ku 3lkUhUeanMbrT9YH/InBe2TXB+hq0b/e9VI0N3nTG9u1HUehW64BlIkfoWZNw/V47Ndg q43khSAHDddNtrnyzZfE2etDeANFHFbwuTWko= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:date:subject:mime-version:x-uid:x-length:to:cc:reply-to :content-type:content-transfer-encoding:message-id; b=p7G9okdDuG46N9Fuk/4Of+GcflpaDcjGwP/ZymkPn2rgOnAcZJqmcYedwsNpyL1gNQ Y+m1j5S16L3uNLC0hTxpaZG9uNidhqeoUc2v7ZuNSb19pJp+YE0v0p6JKzIcfA6TrYyR bhEnkAQvbdMe7Zu/LK+GdEPMqBlHYKFl+P0mw= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Reply-to: | Florian Fainelli <florian@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
flags is now an unused variable, causing a build failure due to -Werror
being turned on.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/oprofile/op_model_loongson2.c
b/arch/mips/oprofile/op_model_loongson2.c
index 2ffd47a..29e2326 100644
--- a/arch/mips/oprofile/op_model_loongson2.c
+++ b/arch/mips/oprofile/op_model_loongson2.c
@@ -113,7 +113,6 @@ static irqreturn_t loongson2_perfcount_handler(int irq,
void *dev_id)
uint64_t counter, counter1, counter2;
struct pt_regs *regs = get_irq_regs();
int enabled;
- unsigned long flags;
/*
* LOONGSON2 defines two 32-bit performance counters.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Reverting old hack, Yoichi Yuasa |
|---|---|
| Next by Date: | Re: Reverting old hack, Bjorn Helgaas |
| Previous by Thread: | [PATCH] MIPS: Bcm47xx: Fix 128MB RAM support, Hauke Mehrtens |
| Next by Thread: | Re: [PATCH -queue] loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |