Re: inconsistent lock state in 2.6.29-rc6

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

 



From: Meelis Roos <mroos@xxxxxxxx>
Date: Wed, 4 Mar 2009 09:51:50 +0200 (EET)

> This another problem from my 6-CPU E3000 - just got it while compiling 
> 2.6.29-rc7 but the compilation continues fine.
> 
> [  412.896568] =================================
> [  412.964373] [ INFO: inconsistent lock state ]
> [  413.016474] 2.6.29-rc6 #2
> [  413.047705] ---------------------------------
> [  413.099822] inconsistent {softirq-on-W} -> {in-softirq-W} usage.
> [  413.171717] cc1/2007 [HC0[0]:SC1[1]:HE0:SE0] takes:
> [  413.230048]  (call_function_lock){-+..}, at: [<000000000049003c>] generic_smp_call_function_interrupt+0x11c/0x1c0
> [  413.353010] {softirq-on-W} state was registered at:

Please try this patch:

diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c
index f1c8208..1de47d2 100644
--- a/arch/sparc/kernel/smp_64.c
+++ b/arch/sparc/kernel/smp_64.c
@@ -119,9 +119,9 @@ void __cpuinit smp_callin(void)
 	while (!cpu_isset(cpuid, smp_commenced_mask))
 		rmb();
 
-	ipi_call_lock();
+	ipi_call_lock_irq();
 	cpu_set(cpuid, cpu_online_map);
-	ipi_call_unlock();
+	ipi_call_unlock_irq();
 
 	/* idle thread is expected to have preempt disabled */
 	preempt_disable();
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux