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

tip-bot2 for Yue Haibing posted 1 patch 1 year, 3 months ago
arch/x86/include/asm/extable.h | 1 -
1 file changed, 1 deletion(-)
[tip: x86/cleanups] x86/extable: Remove unused declaration fixup_bug()
Posted by tip-bot2 for Yue Haibing 1 year, 3 months ago
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@huawei.com>
AuthorDate:    Fri, 16 Aug 2024 18:22:19 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
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@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240816102219.883297-1-yuehaibing@huawei.com

---
 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);