Magellan Linux

Contents of /trunk/nvidia-legacy-drivers/patches/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 477 - (show annotations) (download)
Mon Feb 11 15:19:26 2008 UTC (16 years, 3 months ago) by niro
File size: 419 byte(s)
-renamed to nvidia-glx-legacy to nvidia-legacy-drivers and added nvidia-legacy-module.sh to build the kernel-module

1 --- nv.orig/nv.c 2004-12-27 11:38:13.298374416 +1100
2 +++ nv/nv.c 2004-12-27 11:42:48.876480176 +1100
3 @@ -2814,6 +2814,7 @@
4 int cpu;
5
6 nvl = NV_GET_NVL_FROM_NV_STATE(nv);
7 + preempt_disable();
8 cpu = get_cpu();
9
10 if (nvl->rm_lock_cpu == cpu)
11 @@ -2829,6 +2830,7 @@
12
13 nvl->rm_lock_cpu = smp_processor_id();
14 nvl->rm_lock_count = 1;
15 + preempt_enable();
16 }
17
18 void NV_API_CALL nv_unlock_rm(

Properties

Name Value
svn:executable *