• Arnd Bergmann's avatar
    mips: add asm/syscalls.h header · be018aaa
    Arnd Bergmann authored
    System call prototypes are generally in linux/syscalls.h, but there are a
    couple of mips specific entry points that are missing there:
    
    arch/mips/kernel/signal.c:636:17: error: no previous prototype for 'sys_sigreturn' [-Werror=missing-prototypes]
    arch/mips/kernel/signal.c:673:17: error: no previous prototype for 'sys_rt_sigreturn' [-Werror=missing-prototypes]
    arch/mips/kernel/syscall.c:51:16: error: no previous prototype for 'sysm_pipe' [-Werror=missing-prototypes]
    arch/mips/kernel/mips-mt-fpaff.c:65:17: error: no previous prototype for 'mipsmt_sys_sched_setaffinity' [-Werror=missing-prototypes]
    arch/mips/kernel/mips-mt-fpaff.c:157:17: error: no previous prototype for 'mipsmt_sys_sched_getaffinity' [-Werror=missing-prototypes]
    
    Add these to a new asm/syscalls.h as we have in other architectures.
    
    Link: https://lkml.kernel.org/r/20231204115710.2247097-3-arnd@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Stephen Rothwell <sfr@rothwell.id.au>
    Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    be018aaa
mips-mt-fpaff.c 5.18 KB