linux/smp_lock.h no longer exists in linux-2.6.39+ --- a/usr/src/nv/nv-linux.h +++ b/usr/src/nv/nv-linux.h @@ -87,7 +87,9 @@ #if !defined(KERNEL_2_4) #include /* suser(), capable() replacement */ #include /* module_param() */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) #include /* kernel_locked */ +#endif #include /* flush_tlb(), flush_tlb_all() */ #include /* page table entry lookup */ #endif