[PATCH 4/4] x86/extable: remove orphan fixup_bug() declaration

From: Gaosheng Cui
Date: Mon Sep 19 2022 - 22:07:33 EST


The fixup_bug() has been removed by
commit 15a416e8aaa7 ("x86/entry: Treat BUG/WARN as NMI-like
entries"), so remove the orphan declaration.

Signed-off-by: Gaosheng Cui <cuigaosheng1@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 eeed395c3177..a0e0c6b50155 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);

--
2.25.1