Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux