aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2011-06-02 16:06:05 -0400
committerGlenn Elliott <gelliott@cs.unc.edu>2011-06-02 16:06:05 -0400
commit3d5537c160c1484e8d562b9828baf679cc53f67a (patch)
treeb595364f1b0f94ac2426c8315bc5967debc7bbb0 /arch/x86/kernel
parent7d754596756240fa918b94cd0c3011c77a638987 (diff)
Full patch for klitirqd with Nvidia GPU support.
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/irq.c14
-rw-r--r--arch/x86/kernel/syscall_table_32.S1
2 files changed, 15 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;
diff --git a/arch/x86/kernel/syscall_table_32.S b/arch/x86/kernel/syscall_table_32.S
index 37702905f658..b5ddae40cee2 100644
--- a/arch/x86/kernel/syscall_table_32.S
+++ b/arch/x86/kernel/syscall_table_32.S
@@ -352,3 +352,4 @@ ENTRY(sys_call_table)
352 .long sys_wait_for_ts_release 352 .long sys_wait_for_ts_release
353 .long sys_release_ts 353 .long sys_release_ts
354 .long sys_null_call 354 .long sys_null_call
355 .long sys_register_nv_device