#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
#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_ VERSION( 2,6,25) ) each_cpu( KCL_flush_ tlb_one, &va, 1, 1);
on_
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) each_cpu( KCL_flush_ tlb_one, &va, 1, 1); VERSION( 2,6,27) each_cpu( KCL_flush_ tlb_one, &va, 1); tlb_page( vma, va);
on_
#elseif LINUX_VERSION_CODE >= KERNEL_
on_
#else
flush_
#endif
Could be a possible fix