On Thu, Jun 16, 2022 at 7:42 AM Rohan McLure <rmcl...@linux.ibm.com> wrote: > > As for SPU's, the issue here is that include/linux/syscalls.h only > provides prototypes for sys_... handlers. So spu_callbacks.c must > reference these symbols for the translation unit to compile. A solution > may be for spu_syscall_table to be made extern linkage and populated in > the same manner as systbl.S. I suggest we simply omit support for sycall > wrappers with the Cell processor.
The compat syscalls should all be declared in linux/compat.h. I think in general the C based syscall tables are better because they enforce the presence of a declaration for each syscall, and that helps with type safety. Arnd