aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/irq.c10
-rw-r--r--kernel/softirq.c1
-rw-r--r--kernel/workqueue.c3
3 files changed, 3 insertions, 11 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 50abbc6b7429..433cd154333c 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -248,17 +248,7 @@ unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
248 __func__, smp_processor_id(), vector, irq); 248 __func__, smp_processor_id(), vector, irq);
249 } 249 }
250 250
251//#ifndef CONFIG_LITMUS_NVIDIA
252 irq_exit(); 251 irq_exit();
253//#else
254 /* skip softirqs if we're tracing an interrupt top-half */
255 /* comment out if-statement if we want to trace with bh on. */
256 //if(!is_interrupt_tracing_active())
257// irq_exit();
258
259
260// sched_trace_nv_interrupt_end();
261//#endif
262 252
263 set_irq_regs(old_regs); 253 set_irq_regs(old_regs);
264 return 1; 254 return 1;
diff --git a/kernel/softirq.c b/kernel/softirq.c
index d3217c54d2bf..7a6f500570f1 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -439,6 +439,7 @@ void __tasklet_schedule(struct tasklet_struct *t)
439 439
440 t->owner = device_owner; 440 t->owner = device_owner;
441 sched_trace_tasklet_release(t->owner); 441 sched_trace_tasklet_release(t->owner);
442
442 if(likely(_litmus_tasklet_schedule(t,nvidia_device))) 443 if(likely(_litmus_tasklet_schedule(t,nvidia_device)))
443 { 444 {
444 unlock_nv_registry(nvidia_device, &flags); 445 unlock_nv_registry(nvidia_device, &flags);
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 */
2532int schedule_work(struct work_struct *work) 2532int 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}
2589EXPORT_SYMBOL(schedule_work); 2590EXPORT_SYMBOL(schedule_work);