works por deps fixed...

This commit is contained in:
Ertuğrul Erata
2015-06-20 22:07:39 +03:00
parent e5bb900715
commit 35cada22bf
102 changed files with 5695 additions and 10 deletions
@@ -0,0 +1,22 @@
--- a/firegl_public.c
+++ b/firegl_public.c
@@ -4820,8 +4824,8 @@ static unsigned long kasSetExecutionLeve
{
unsigned long orig_level;
- orig_level = __get_cpu_var(kasExecutionLevel);
- __get_cpu_var(kasExecutionLevel) = level;
+ orig_level = __this_cpu_read(kasExecutionLevel);
+ __this_cpu_write(kasExecutionLevel, level);
return orig_level;
}
@@ -4833,7 +4837,7 @@ static unsigned long kasSetExecutionLeve
*/
static unsigned long kas_GetExecutionLevel(void)
{
- return __get_cpu_var(kasExecutionLevel);
+ return __this_cpu_read(kasExecutionLevel);
}
/** \brief Type definition for kas_spin_lock() parameter */