[tip: x86/cleanups] x86/extable: Remove unused declaration fixup_bug()

From: tip-bot2 for Yue Haibing
Date: Sun Aug 25 2024 - 10:12:15 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: cc5e03f3be3154f860c9d08b2ac8c139863e1515
Gitweb: https://git.kernel.org/tip/cc5e03f3be3154f860c9d08b2ac8c139863e1515
Author: Yue Haibing <yuehaibing@xxxxxxxxxx>
AuthorDate: Fri, 16 Aug 2024 18:22:19 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Sun, 25 Aug 2024 16:07:51 +02:00

x86/extable: Remove unused declaration fixup_bug()

Commit 15a416e8aaa7 ("x86/entry: Treat BUG/WARN as NMI-like entries")
removed the implementation but left the declaration.

Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20240816102219.883297-1-yuehaibing@xxxxxxxxxx

---
arch/x86/include/asm/extable.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/extable.h b/arch/x86/include/asm/extable.h
index eeed395..a0e0c6b 100644
--- a/arch/x86/include/asm/extable.h
+++ b/arch/x86/include/asm/extable.h
@@ -37,7 +37,6 @@ struct pt_regs;

extern int fixup_exception(struct pt_regs *regs, int trapnr,
unsigned long error_code, unsigned long fault_addr);
-extern int fixup_bug(struct pt_regs *regs, int trapnr);
extern int ex_get_fixup_type(unsigned long ip);
extern void early_fixup_exception(struct pt_regs *regs, int trapnr);