[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <3877989d0909220017l61394c3cy769e95656db70d22@mail.gmail.com>
Date: Tue, 22 Sep 2009 15:17:08 +0800
From: Luming Yu <luming.yu@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Subject: [RFC PATCH] delete unnecessary BUG_ON !policy->cur
Hi there,
When testing upstream Git tree, there is a BUG_ON hit on a IA64 system
with RHEL 5 user space installed.
Please review the patch below, If make sense, please apply.
Ps. The patch is enclosed in attachment. The inlined one
is c&p of it for reading.
Thanks,
Luming
Signed-off-by: Yu Luming <luming.yu@...el.com>
cpufreq_userspace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/cpufreq/cpufreq_userspace.c
b/drivers/cpufreq/cpufreq_userspace.c
index 66d2d1d..63bd232 100644
--- a/drivers/cpufreq/cpufreq_userspace.c
+++ b/drivers/cpufreq/cpufreq_userspace.c
@@ -119,7 +119,6 @@ static int cpufreq_governor_userspace(st
case CPUFREQ_GOV_START:
if (!cpu_online(cpu))
return -EINVAL;
- BUG_ON(!policy->cur);
mutex_lock(&userspace_mutex);
if (cpus_using_userspace_governor == 0) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists