• Max Filippov's avatar
    xtensa: clean up exception handler prototypes · fc55402b
    Max Filippov authored
    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>
    fc55402b
traps.c 13.8 KB