From: Wang Haojun <jiangliuer01@gmail.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Huacai Chen <chenhuacai@kernel.org>,
Wang Haojun <wanghaojun@loongson.cn>,
Li Xuefeng <lixuefeng@loongson.cn>
Cc: linux-mips@vger.kernel.org
Subject: [PATCH] MIPS: Fix build error for brcmstb_gisb
Date: Fri, 22 Oct 2021 19:27:08 +0800 [thread overview]
Message-ID: <20211022112708.962338-1-wanghaojun@loongson.cn> (raw)
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@loongson.cn>
---
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
next reply other threads:[~2021-10-22 11:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 11:27 Wang Haojun [this message]
2021-10-22 15:45 ` [PATCH] MIPS: Fix build error for brcmstb_gisb Thomas Bogendoerfer
2021-10-23 1:46 ` 江流儿
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211022112708.962338-1-wanghaojun@loongson.cn \
--to=jiangliuer01@gmail.com \
--cc=chenhuacai@kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=lixuefeng@loongson.cn \
--cc=tsbogend@alpha.franken.de \
--cc=wanghaojun@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).