Skip to content
Commit fc55402b authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: clean up exception handler prototypes



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: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent db0d07fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment