Annotation of /trunk/nvidia/1.0.7676/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 419 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 419 byte(s)
-import
1 | niro | 153 | --- 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 | * |