SMP: BUG with PREEMPT enabled
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Oct 15 07:40:32 EDT 2009
On Wed, Oct 14, 2009 at 04:56:18PM +0530, Shilimkar, Santosh wrote:
> > On the latest ARM kernel(v2.6.32-rc4),I have observed a BUG() dump when
Umm...
> @@ -350,7 +350,7 @@ static inline void local_flush_tlb_mm(struct mm_struct *mm)
> if (tlb_flag(TLB_WB))
> dsb();
>
> - if (cpu_isset(smp_processor_id(), mm->cpu_vm_mask)) {
> + if (cpu_isset(get_cpu(), mm->cpu_vm_mask)) {
This isn't 2.6.32-rc4 code - which actually is:
if (cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) {
so what kernel version are you working with?
The result is this patch won't apply to 2.6.32-rc4.
More information about the linux-arm-kernel
mailing list