xtensa: clean up function declarations in traps.c
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 15 Apr 2022 09:47:04 +0000 (02:47 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 May 2022 02:51:22 +0000 (19:51 -0700)
commitdb0d07fa192a3c05776875f4a851588d7dfc9f96
tree925279b51380aad46f883ff35a418cc6d9b75708
parent725aea873261e8d986e527838fde2a721f0962d8
xtensa: clean up function declarations in traps.c

Drop 'extern' from all function declarations and move those that need to
be visible from traps.c to traps.h. Add 'asmlinkage' to declarations of
fucntions defined in assembly. Add 'static' to declarations and
definitions only used locally. Add argument names in declarations.
Drop unused second argument from do_multihit and do_page_fault.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/traps.h
arch/xtensa/kernel/traps.c