diff options
author | Firoz Khan <firoz.khan@linaro.org> | 2018-11-19 12:04:36 +0530 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-12-10 08:26:04 +0100 |
commit | 575afc4d7f6040d7227dfcdd29cf0538fe644359 (patch) | |
tree | 96405986061236e61e8b4b0e87ba91dd1d841cf0 /arch/parisc/kernel/syscall.S | |
parent | 85e69701f58c9b2ec2975e31518b60e056bfebdf (diff) | |
download | linux-stable-575afc4d7f6040d7227dfcdd29cf0538fe644359.tar.gz linux-stable-575afc4d7f6040d7227dfcdd29cf0538fe644359.tar.bz2 linux-stable-575afc4d7f6040d7227dfcdd29cf0538fe644359.zip |
parisc: generate uapi header and system call table files
System call table generation script must be run to gener-
ate unistd_32/64.h and syscall_table_32/64/c32.h files.
This patch will have changes which will invokes the script.
This patch will generate unistd_32/64.h and syscall_table-
_32/64/c32.h files by the syscall table generation script
invoked by parisc/Makefile and the generated files against
the removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/syscall.S file.
Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/syscall.S')
-rw-r--r-- | arch/parisc/kernel/syscall.S | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index a9bc90dc4ae7..4f77bd9be66b 100644 --- a/arch/parisc/kernel/syscall.S +++ b/arch/parisc/kernel/syscall.S @@ -923,19 +923,24 @@ ENTRY(lws_table) END(lws_table) /* End of lws table */ +#define __SYSCALL(nr, entry, nargs) ASM_ULONG_INSN entry .align 8 ENTRY(sys_call_table) .export sys_call_table,data -#include "syscall_table.S" +#ifdef CONFIG_64BIT +#include <asm/syscall_table_c32.h> /* Compat syscalls */ +#else +#include <asm/syscall_table_32.h> /* 32-bit native syscalls */ +#endif END(sys_call_table) #ifdef CONFIG_64BIT .align 8 ENTRY(sys_call_table64) -#define SYSCALL_TABLE_64BIT -#include "syscall_table.S" +#include <asm/syscall_table_64.h> /* 64-bit native syscalls */ END(sys_call_table64) #endif +#undef __SYSCALL /* All light-weight-syscall atomic operations |