diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:48:38 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:48:38 -0500 |
commit | 0c70a26073633b3879eac57d38f1260c1bebeafc (patch) | |
tree | 522dd28bd06f7d94d46c38a02de22114b6279469 /arch | |
parent | dca58944f6c63db5fb622e9e7e8581cc652f6a54 (diff) |
Porting on x86_64
- add syscall on x86_64
- refactor __NR_sleep_next_period -> __NR_complete_job
for both x86_32 and x86_64
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/hw_irq.h | 1 | ||||
-rw-r--r-- | arch/x86/include/asm/unistd_32.h | 2 | ||||
-rw-r--r-- | arch/x86/include/asm/unistd_64.h | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index 162e5f9646ed..68900e7dada8 100644 --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h | |||
@@ -112,6 +112,7 @@ extern asmlinkage void smp_irq_move_cleanup_interrupt(void); | |||
112 | extern void smp_reschedule_interrupt(struct pt_regs *); | 112 | extern void smp_reschedule_interrupt(struct pt_regs *); |
113 | extern void smp_call_function_interrupt(struct pt_regs *); | 113 | extern void smp_call_function_interrupt(struct pt_regs *); |
114 | extern void smp_call_function_single_interrupt(struct pt_regs *); | 114 | extern void smp_call_function_single_interrupt(struct pt_regs *); |
115 | extern void smp_pull_timers_interrupt(struct pt_regs *); | ||
115 | #ifdef CONFIG_X86_32 | 116 | #ifdef CONFIG_X86_32 |
116 | extern void smp_invalidate_interrupt(struct pt_regs *); | 117 | extern void smp_invalidate_interrupt(struct pt_regs *); |
117 | #else | 118 | #else |
diff --git a/arch/x86/include/asm/unistd_32.h b/arch/x86/include/asm/unistd_32.h index 34bc4204d373..f9b507f30d65 100644 --- a/arch/x86/include/asm/unistd_32.h +++ b/arch/x86/include/asm/unistd_32.h | |||
@@ -345,7 +345,7 @@ | |||
345 | 345 | ||
346 | #define __NR_LITMUS 337 | 346 | #define __NR_LITMUS 337 |
347 | 347 | ||
348 | #include "litmus/unistd.h" | 348 | #include "litmus/unistd_32.h" |
349 | 349 | ||
350 | #ifdef __KERNEL__ | 350 | #ifdef __KERNEL__ |
351 | 351 | ||
diff --git a/arch/x86/include/asm/unistd_64.h b/arch/x86/include/asm/unistd_64.h index 8d3ad0adbc68..33b2003c0450 100644 --- a/arch/x86/include/asm/unistd_64.h +++ b/arch/x86/include/asm/unistd_64.h | |||
@@ -662,6 +662,10 @@ __SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo) | |||
662 | #define __NR_perf_event_open 298 | 662 | #define __NR_perf_event_open 298 |
663 | __SYSCALL(__NR_perf_event_open, sys_perf_event_open) | 663 | __SYSCALL(__NR_perf_event_open, sys_perf_event_open) |
664 | 664 | ||
665 | #define __NR_LITMUS 299 | ||
666 | |||
667 | #include "litmus/unistd_64.h" | ||
668 | |||
665 | #ifndef __NO_STUBS | 669 | #ifndef __NO_STUBS |
666 | #define __ARCH_WANT_OLD_READDIR | 670 | #define __ARCH_WANT_OLD_READDIR |
667 | #define __ARCH_WANT_OLD_STAT | 671 | #define __ARCH_WANT_OLD_STAT |