Commit 575afc4d authored by Firoz Khan's avatar Firoz Khan Committed by Helge Deller

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: default avatarFiroz Khan <firoz.khan@linaro.org>
Acked-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 85e69701
...@@ -163,3 +163,6 @@ define archhelp ...@@ -163,3 +163,6 @@ define archhelp
@echo ' copy to $$(INSTALL_PATH)' @echo ' copy to $$(INSTALL_PATH)'
@echo ' zinstall - Install compressed vmlinuz kernel' @echo ' zinstall - Install compressed vmlinuz kernel'
endef endef
archheaders:
$(Q)$(MAKE) $(build)=arch/parisc/kernel/syscalls all
generated-y += syscall_table_32.h
generated-y += syscall_table_64.h
generated-y += syscall_table_c32.h
generic-y += barrier.h generic-y += barrier.h
generic-y += current.h generic-y += current.h
generic-y += device.h generic-y += device.h
......
# UAPI Header export list # UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm include include/uapi/asm-generic/Kbuild.asm
generated-y += unistd_32.h
generated-y += unistd_64.h
generic-y += auxvec.h generic-y += auxvec.h
generic-y += bpf_perf_event.h generic-y += bpf_perf_event.h
generic-y += kvm_para.h generic-y += kvm_para.h
......
This diff is collapsed.
...@@ -923,19 +923,24 @@ ENTRY(lws_table) ...@@ -923,19 +923,24 @@ ENTRY(lws_table)
END(lws_table) END(lws_table)
/* End of lws table */ /* End of lws table */
#define __SYSCALL(nr, entry, nargs) ASM_ULONG_INSN entry
.align 8 .align 8
ENTRY(sys_call_table) ENTRY(sys_call_table)
.export sys_call_table,data .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) END(sys_call_table)
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
.align 8 .align 8
ENTRY(sys_call_table64) ENTRY(sys_call_table64)
#define SYSCALL_TABLE_64BIT #include <asm/syscall_table_64.h> /* 64-bit native syscalls */
#include "syscall_table.S"
END(sys_call_table64) END(sys_call_table64)
#endif #endif
#undef __SYSCALL
/* /*
All light-weight-syscall atomic operations All light-weight-syscall atomic operations
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment