diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-10-18 19:57:01 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-10-18 21:34:06 +0100 |
commit | 96a8fae0fe094b6a26a3ec88b2f097418f269cfe (patch) | |
tree | 611c87ac99ac3ee4407d4d37b6c77d5274e3c2e1 /arch/arm/include/uapi/asm/Kbuild | |
parent | 4e2648db9c5f7b2281551694597102612f54460d (diff) | |
download | lwn-96a8fae0fe094b6a26a3ec88b2f097418f269cfe.tar.gz lwn-96a8fae0fe094b6a26a3ec88b2f097418f269cfe.zip |
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 <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/uapi/asm/Kbuild')
-rw-r--r-- | arch/arm/include/uapi/asm/Kbuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/Kbuild b/arch/arm/include/uapi/asm/Kbuild index a1c05f93d920..46a76cd6acb6 100644 --- a/arch/arm/include/uapi/asm/Kbuild +++ b/arch/arm/include/uapi/asm/Kbuild @@ -18,3 +18,6 @@ header-y += stat.h header-y += statfs.h header-y += swab.h header-y += unistd.h +genhdr-y += unistd-common.h +genhdr-y += unistd-oabi.h +genhdr-y += unistd-eabi.h |