diff --git a/packages/x11/driver/xf86-video-nvidia/patches.upstream/xf86-video-nvidia-270.30-no_smp_lock.h.patch b/packages/x11/driver/xf86-video-nvidia/patches.upstream/xf86-video-nvidia-270.30-no_smp_lock.h.patch new file mode 100644 index 0000000000..a4d2f709ef --- /dev/null +++ b/packages/x11/driver/xf86-video-nvidia/patches.upstream/xf86-video-nvidia-270.30-no_smp_lock.h.patch @@ -0,0 +1,11 @@ +diff -Naur NVIDIA-Linux-x86-270.30/kernel/nv-linux.h NVIDIA-Linux-x86-270.30.patch/kernel/nv-linux.h +--- NVIDIA-Linux-x86-270.30/kernel/nv-linux.h 2011-02-25 23:34:52.000000000 +0100 ++++ NVIDIA-Linux-x86-270.30.patch/kernel/nv-linux.h 2011-04-10 19:30:26.606841460 +0200 +@@ -87,7 +87,6 @@ + #if !defined(KERNEL_2_4) + #include /* suser(), capable() replacement */ + #include /* module_param() */ +-#include /* kernel_locked */ + #include /* flush_tlb(), flush_tlb_all() */ + #include /* page table entry lookup */ + #endif