The GISB bus error handler need board_be_handler, but this code cannot used it when BRCMSTB_GISB_ARB is a module. ERROR: modpost: "board_be_handler" [drivers/bus/brcmstb_gisb.ko] undefined! Signed-off-by: Wang Haojun <wanghaojun@xxxxxxxxxxx> --- arch/mips/kernel/traps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 6f07362de5ce..409bcc755b89 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -104,6 +104,7 @@ extern void tlb_do_page_fault_0(void); void (*board_be_init)(void); int (*board_be_handler)(struct pt_regs *regs, int is_fixup); +EXPORT_SYMBOL_GPL(board_be_handler); void (*board_nmi_handler_setup)(void); void (*board_ejtag_handler_setup)(void); void (*board_bind_eic_interrupt)(int irq, int regset); -- 2.27.0