Line
Link Here
|
0 |
-- a/common/lib/modules/fglrx/build_mod/firegl_public.c |
0 |
++ b/common/lib/modules/fglrx/build_mod/firegl_public.c |
Lines 1352-1358
Link Here
|
1352 |
int process_terminated = 1; |
1352 |
int process_terminated = 1; |
1353 |
|
1353 |
|
1354 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) |
1354 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) |
|
|
1355 |
#if !defined(CONFIG_PREEMPT_RT) |
1355 |
rcu_read_lock(); |
1356 |
rcu_read_lock(); |
|
|
1357 |
#else |
1358 |
preempt_disable(); |
1359 |
#endif |
1356 |
#else |
1360 |
#else |
1357 |
read_lock(&tasklist_lock); |
1361 |
read_lock(&tasklist_lock); |
1358 |
#endif |
1362 |
#endif |
Lines 1373-1379
Link Here
|
1373 |
} |
1377 |
} |
1374 |
} |
1378 |
} |
1375 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) |
1379 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) |
|
|
1380 |
#if !defined(CONFIG_PREEMPT_RT) |
1376 |
rcu_read_unlock(); |
1381 |
rcu_read_unlock(); |
|
|
1382 |
#else |
1383 |
preempt_disable(); |
1384 |
#endif |
1377 |
#else |
1385 |
#else |
1378 |
read_unlock(&tasklist_lock); |
1386 |
read_unlock(&tasklist_lock); |
1379 |
#endif |
1387 |
#endif |