diff options
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r-- | litmus/litmus.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index 129f74740480..554002d8b9a8 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -435,11 +435,14 @@ asmlinkage long sys_set_page_color(int cpu) | |||
435 | // } | 435 | // } |
436 | 436 | ||
437 | ret = 0; | 437 | ret = 0; |
438 | if (!is_realtime(current)) | 438 | //if (!is_realtime(current)) |
439 | lv = 1; | 439 | // lv = 1; |
440 | else { | 440 | // else { |
441 | if (tsk_rt(current)->mc2_data) | ||
441 | lv = tsk_rt(current)->mc2_data->crit; | 442 | lv = tsk_rt(current)->mc2_data->crit; |
442 | } | 443 | else |
444 | BUG();//lv = 0; | ||
445 | // } | ||
443 | 446 | ||
444 | if (cpu == -1) | 447 | if (cpu == -1) |
445 | node = 8; | 448 | node = 8; |