summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/s32c1i_selftest.c
AgeCommit message (Collapse)AuthorFilesLines
2022-05-01xtensa: clean up exception handler prototypesMax Filippov1-4/+3
Exception handlers are currently passed as void pointers because they may have one or two parameters. Only two handlers uses the second parameter and it is available in the struct pt_regs anyway. Make all handlers have only one parameter, introduce xtensa_exception_handler type for handlers and use it in trap_set_handler. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-16xtensa: move S32C1I self-test to a separate fileMax Filippov1-0/+128
The test is not called from any of the setup functions, so there's no reason keeping it in the setup.c. Move it to s32c1i_selftest.c and drop related #include directives. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>