aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/irq.c')
-rw-r--r--arch/x86/kernel/irq.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 91fd0c70a18a..50abbc6b7429 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -8,6 +8,10 @@
8#include <linux/smp.h> 8#include <linux/smp.h>
9#include <linux/ftrace.h> 9#include <linux/ftrace.h>
10 10
11#ifdef CONFIG_LITMUS_NVIDIA
12#include <litmus/sched_trace.h>
13#endif
14
11#include <asm/apic.h> 15#include <asm/apic.h>
12#include <asm/io_apic.h> 16#include <asm/io_apic.h>
13#include <asm/irq.h> 17#include <asm/irq.h>
@@ -244,7 +248,17 @@ unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
244 __func__, smp_processor_id(), vector, irq); 248 __func__, smp_processor_id(), vector, irq);
245 } 249 }
246 250
251//#ifndef CONFIG_LITMUS_NVIDIA
247 irq_exit(); 252 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
248 262
249 set_irq_regs(old_regs); 263 set_irq_regs(old_regs);
250 return 1; 264 return 1;