]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86, um: Use the same style generated syscall tables as native
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 6 Dec 2011 00:08:49 +0000 (16:08 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 6 Dec 2011 00:08:49 +0000 (16:08 -0800)
commit45db1c6176c8171d9ae6fa6d82e07d115a5950ca
tree65ce8fcca9ffe02e0ecb83d6aa118ef44d7c86ce
parent392f4b7db82ee592cc62b813e2a127d370dea42a
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>
arch/x86/um/Makefile
arch/x86/um/sys_call_table_32.S [deleted file]
arch/x86/um/sys_call_table_32.c [new file with mode: 0644]
arch/x86/um/sys_call_table_64.c
arch/x86/um/user-offsets.c