lkml.org 
[lkml]   [2006]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
On Fri, Aug 04, 2006 at 10:10:51PM -0400, Dave Jones wrote:

> So I added this diff..
>
> diff --git a/kernel/cpu.c b/kernel/cpu.c
> index f230f9a..31210a0 100644
> --- a/kernel/cpu.c
> +++ b/kernel/cpu.c
> @@ -31,6 +31,14 @@ void lock_cpu_hotplug(void)
> {
> struct task_struct *tsk = current;
>
> + if (jiffies > HZ * 60) {

....

> void unlock_cpu_hotplug(void)
> {
> + if (jiffies > HZ * 120) {
^^^
Duh. Everything becomes clearer the moment you post a diff to lkml.

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-05 04:27    [W:0.668 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site