aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/Makefile4
-rw-r--r--arch/um/sys-x86_64/syscall_table.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 94fb24ea5afa..4fc79f3030e4 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -156,9 +156,9 @@ $(ARCH_DIR)/include/asm/arch:
156 @echo ' SYMLINK $@' 156 @echo ' SYMLINK $@'
157ifneq ($(KBUILD_SRC),) 157ifneq ($(KBUILD_SRC),)
158 $(Q)mkdir -p $(objtree)/$(ARCH_DIR)/include/asm 158 $(Q)mkdir -p $(objtree)/$(ARCH_DIR)/include/asm
159 $(Q)ln -fsn $(srctree)/include/asm-$(HEADER_ARCH) $@ 159 $(Q)ln -fsn $(srctree)/arch/$(HEADER_ARCH)/include/asm $@
160else 160else
161 $(Q)ln -fsn ../../../../include/asm-$(HEADER_ARCH) $@ 161 $(Q)ln -fsn ../../../$(HEADER_ARCH)/include/asm $@
162endif 162endif
163 163
164$(objtree)/$(ARCH_DIR)/include/shared: 164$(objtree)/$(ARCH_DIR)/include/shared:
diff --git a/arch/um/sys-x86_64/syscall_table.c b/arch/um/sys-x86_64/syscall_table.c
index 32f5fbe2d0d2..ef42ec01eaff 100644
--- a/arch/um/sys-x86_64/syscall_table.c
+++ b/arch/um/sys-x86_64/syscall_table.c
@@ -42,7 +42,7 @@
42 42
43#define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; 43#define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ;
44#undef ASM_X86__UNISTD_64_H 44#undef ASM_X86__UNISTD_64_H
45#include <asm-x86/unistd_64.h> 45#include "../../x86/include/asm/unistd_64.h"
46 46
47#undef __SYSCALL 47#undef __SYSCALL
48#define __SYSCALL(nr, sym) [ nr ] = sym, 48#define __SYSCALL(nr, sym) [ nr ] = sym,
@@ -64,7 +64,7 @@ extern void sys_ni_syscall(void);
64 */ 64 */
65 65
66sys_call_ptr_t sys_call_table[] __cacheline_aligned = { 66sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
67#include <asm-x86/unistd_64.h> 67#include "../../x86/include/asm/unistd_64.h"
68}; 68};
69 69
70int syscall_table_size = sizeof(sys_call_table); 70int syscall_table_size = sizeof(sys_call_table);