[PATCH v4 09/20] powerpc: Enable compile-time check for syscall handlers

2022-08-23 Thread Rohan McLure
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/s

Re: [PATCH v4 09/20] powerpc: Enable compile-time check for syscall handlers

2022-09-12 Thread Nicholas Piggin
On Wed Aug 24, 2022 at 12:05 PM AEST, Rohan McLure wrote: > 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

Re: [PATCH v4 09/20] powerpc: Enable compile-time check for syscall handlers

2022-09-12 Thread Michael Ellerman
"Nicholas Piggin" writes: > On Wed Aug 24, 2022 at 12:05 PM AEST, Rohan McLure wrote: ... >> diff --git a/arch/powerpc/kernel/systbl.S b/arch/powerpc/kernel/systbl.c >> similarity index 59% >> rename from arch/powerpc/kernel/systbl.S >> rename to arch/powerpc/kernel/systbl.c >> index cb3358886203.