diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 637cadac2627..2293aadbb1ab 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -2531,6 +2531,7 @@ EXPORT_SYMBOL(cancel_delayed_work_sync); | |||
2531 | */ | 2531 | */ |
2532 | int schedule_work(struct work_struct *work) | 2532 | int schedule_work(struct work_struct *work) |
2533 | { | 2533 | { |
2534 | #if 0 | ||
2534 | #if defined(CONFIG_LITMUS_NVIDIA) && defined(CONFIG_LITMUS_SOFTIRQD) | 2535 | #if defined(CONFIG_LITMUS_NVIDIA) && defined(CONFIG_LITMUS_SOFTIRQD) |
2535 | if(is_nvidia_func(work->func)) | 2536 | if(is_nvidia_func(work->func)) |
2536 | { | 2537 | { |
@@ -2583,7 +2584,7 @@ int schedule_work(struct work_struct *work) | |||
2583 | unlock_nv_registry(nvidiaDevice, &flags); | 2584 | unlock_nv_registry(nvidiaDevice, &flags); |
2584 | } | 2585 | } |
2585 | #endif | 2586 | #endif |
2586 | 2587 | #endif | |
2587 | return(__schedule_work(work)); | 2588 | return(__schedule_work(work)); |
2588 | } | 2589 | } |
2589 | EXPORT_SYMBOL(schedule_work); | 2590 | EXPORT_SYMBOL(schedule_work); |