Skip to content
Commit 5ccb1867 authored by Russell King's avatar Russell King Committed by Naitik Bharadiya
Browse files

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.

Change-Id: Ie70e712b4779601beaeb4f660b8fa910a159ce87
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Git-Commit: 96a8fae0fe094b6a26a3ec88b2f097418f269cfe
Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[bharad@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: default avatarNaitik Bharadiya <bharad@codeaurora.org>
parent 31f8f549
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment