#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

-- 
fglrx fails to compile with 2.6.27-2 kernel
https://bugs.launchpad.net/bugs/266956
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to