diff options
Diffstat (limited to 'litmus/locking.c')
-rw-r--r-- | litmus/locking.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/litmus/locking.c b/litmus/locking.c index 16c936ba8139..22f46df4308a 100644 --- a/litmus/locking.c +++ b/litmus/locking.c | |||
@@ -544,6 +544,7 @@ out: | |||
544 | void suspend_for_lock(void) | 544 | void suspend_for_lock(void) |
545 | { | 545 | { |
546 | #ifdef CONFIG_REALTIME_AUX_TASKS | 546 | #ifdef CONFIG_REALTIME_AUX_TASKS |
547 | #if 0 | ||
547 | unsigned int restore = 0; | 548 | unsigned int restore = 0; |
548 | struct task_struct *t = current; | 549 | struct task_struct *t = current; |
549 | unsigned int hide; | 550 | unsigned int hide; |
@@ -557,15 +558,18 @@ void suspend_for_lock(void) | |||
557 | tsk_rt(t)->hide_from_aux_tasks = 1; | 558 | tsk_rt(t)->hide_from_aux_tasks = 1; |
558 | } | 559 | } |
559 | #endif | 560 | #endif |
561 | #endif | ||
560 | 562 | ||
561 | schedule(); | 563 | schedule(); |
562 | 564 | ||
563 | #ifdef CONFIG_REALTIME_AUX_TASKS | 565 | #ifdef CONFIG_REALTIME_AUX_TASKS |
566 | #if 0 | ||
564 | if (restore) { | 567 | if (restore) { |
565 | /* restore our state */ | 568 | /* restore our state */ |
566 | tsk_rt(t)->hide_from_aux_tasks = hide; | 569 | tsk_rt(t)->hide_from_aux_tasks = hide; |
567 | } | 570 | } |
568 | #endif | 571 | #endif |
572 | #endif | ||
569 | } | 573 | } |
570 | 574 | ||
571 | 575 | ||