]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite940b1a1218041535d5058aebf7c4b16735222cd
tree925279b51380aad46f883ff35a418cc6d9b75708
parent7f32d4d8bac19e66d25c6f4c515f301c6ddf8602
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