From 96a8fae0fe094b6a26a3ec88b2f097418f269cfe Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 18 Oct 2016 19:57:01 +0100 Subject: ARM: convert to generated system call tables Convert ARM to use a similar mechanism to x86 to generate the unistd.h system call numbers and the various kernel system call tables. This means that rather than having to edit three places (asm/unistd.h for the total number of system calls, uapi/asm/unistd.h for the system call numbers, and arch/arm/kernel/calls.S for the call table) we have only one place to edit, making the process much more simple. The scripts have knowledge of the table padding requirements, so there's no need to worry about __NR_syscalls not fitting within the immediate constant field of ALU instructions anymore. Signed-off-by: Russell King --- arch/arm/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/include/asm/Kbuild') diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index 5b06064946ce..b7960e3956b2 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild @@ -41,3 +41,4 @@ generic-y += trace_clock.h generic-y += unaligned.h generated-y += mach-types.h +generated-y += unistd-nr.h -- cgit v1.2.3-59-g8ed1b