From b3a100a2a0596ea01378be9184eca2db45f02fb5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 10 Apr 2011 19:58:32 +0200 Subject: [PATCH] xf86-video-nvidia: add patch to fix build with linux-2.6.39 Signed-off-by: Stephan Raue --- .../xf86-video-nvidia-270.30-no_smp_lock.h.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/x11/driver/xf86-video-nvidia/patches.upstream/xf86-video-nvidia-270.30-no_smp_lock.h.patch 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