Comment 16 for bug 266956

Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
    on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);

thats why it only applies to 64bit, because on_each_cpu is never called when u compile it on a 32bit system !

#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
    on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);
#elseif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
    on_each_cpu(KCL_flush_tlb_one, &va, 1);
#else
    flush_tlb_page(vma, va);
#endif

Could be a possible fix