diff options
author | Rohan McLure <rmclure@linux.ibm.com> | 2022-09-21 08:55:57 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-28 11:22:09 +0200 |
commit | 39859aea411b1696c6bc0c04bd2b5095ddba6196 (patch) | |
tree | a50d1f67b647e51dad90701799faa0f619ff97dc /arch/powerpc/kernel/interrupt_64.S | |
parent | powerpc: Include all arch-specific syscall prototypes (diff) | |
download | linux-39859aea411b1696c6bc0c04bd2b5095ddba6196.tar.xz linux-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/kernel/interrupt_64.S')
0 files changed, 0 insertions, 0 deletions