/[pkg-src]/trunk/nvidia-drivers/patches/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch |
Annotation of /trunk/nvidia-drivers/patches/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
Parent Directory | Revision Log
Revision 476 -
(hide annotations)
(download)
Mon Feb 11 13:27:38 2008 UTC (16 years, 7 months ago) by niro
File size: 419 byte(s)
Mon Feb 11 13:27:38 2008 UTC (16 years, 7 months ago) by niro
File size: 419 byte(s)
-renamed to nvidia-glx to nvidia-drivers and added nvidia-module.sh to build the kernel-module
1 | niro | 476 | --- 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 | * |