aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/syscalls.h
diff options
context:
space:
mode:
authorRohan McLure <rmclure@linux.ibm.com>2022-09-21 16:55:57 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-28 19:22:09 +1000
commit39859aea411b1696c6bc0c04bd2b5095ddba6196 (patch)
treea50d1f67b647e51dad90701799faa0f619ff97dc /arch/powerpc/include/asm/syscalls.h
parentpowerpc: Include all arch-specific syscall prototypes (diff)
downloadlinux-dev-39859aea411b1696c6bc0c04bd2b5095ddba6196.tar.xz
linux-dev-39859aea411b1696c6bc0c04bd2b5095ddba6196.zip
powerpc: Enable compile-time check for syscall handlers
The table of syscall handlers and registered compatibility syscall handlers has in past been produced using assembly, with function references resolved at link time. This moves link-time errors to compile-time, by rewriting systbl.S in C, and including the linux/syscalls.h, linux/compat.h and asm/syscalls.h headers for prototypes. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rohan McLure <rmclure@linux.ibm.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220921065605.1051927-18-rmclure@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/syscalls.h')
0 files changed, 0 insertions, 0 deletions