diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-12-05 16:08:49 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-12-05 16:08:49 -0800 |
commit | 45db1c6176c8171d9ae6fa6d82e07d115a5950ca (patch) | |
tree | 65ce8fcca9ffe02e0ecb83d6aa118ef44d7c86ce /arch/x86/um/Makefile | |
parent | 392f4b7db82ee592cc62b813e2a127d370dea42a (diff) | |
download | linux-45db1c6176c8171d9ae6fa6d82e07d115a5950ca.tar.gz linux-45db1c6176c8171d9ae6fa6d82e07d115a5950ca.tar.xz |
x86, um: Use the same style generated syscall tables as native
Now when the native kernel uses a single style of generated system
call table, follow suite for UML and implement the same style, all in
C. This requires __NR_syscall_max and NR_syscalls to be generated; on
native this is done in asm-headers.h but that file is common to all
UML architectures; therefore put it in user-headers.h instead which
already have accommodations for architecture-specific values.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/um/Makefile')
-rw-r--r-- | arch/x86/um/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/um/Makefile b/arch/x86/um/Makefile index 8fb58400e415..5d065b2222d3 100644 --- a/arch/x86/um/Makefile +++ b/arch/x86/um/Makefile @@ -37,7 +37,8 @@ subarch-$(CONFIG_MODULES) += ../kernel/module.o USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o extra-y += user-offsets.s -$(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) +$(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \ + -Iarch/x86/include/generated UNPROFILE_OBJS := stub_segv.o CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING) |