diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2012-10-02 22:44:22 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2012-10-02 22:44:22 -0400 |
commit | 787a64c6b832a1094cd1d33489af342658b22570 (patch) | |
tree | e4bc32822b8a2b7d5fdc235e34221b406476dbde | |
parent | 35d050083c0bd9b1e0e4cb2fd8a72a5bba5f2b9d (diff) |
Fix compilation of the perf tool.
-rw-r--r-- | arch/x86/include/asm/unistd_64.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/unistd_64.h b/arch/x86/include/asm/unistd_64.h index e347f0773788..7205056aa4b8 100644 --- a/arch/x86/include/asm/unistd_64.h +++ b/arch/x86/include/asm/unistd_64.h | |||
@@ -684,7 +684,11 @@ __SYSCALL(__NR_setns, sys_setns) | |||
684 | 684 | ||
685 | #define __NR_LITMUS 309 | 685 | #define __NR_LITMUS 309 |
686 | 686 | ||
687 | #ifdef __KERNEL__ | ||
687 | #include "litmus/unistd_64.h" | 688 | #include "litmus/unistd_64.h" |
689 | #else | ||
690 | #include "../../../../include/litmus/unistd_64.h" | ||
691 | #endif | ||
688 | 692 | ||
689 | #ifndef __NO_STUBS | 693 | #ifndef __NO_STUBS |
690 | #define __ARCH_WANT_OLD_READDIR | 694 | #define __ARCH_WANT_OLD_READDIR |