* [PATCH] h8300: bug: remove foreward decl of die()
@ 2021-06-17 21:50 trix
0 siblings, 0 replies; only message in thread
From: trix @ 2021-06-17 21:50 UTC (permalink / raw)
To: ysato; +Cc: uclinux-h8-devel, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
die() is defined arch/h8300/kernel/traps.c
and is used in arch/h8300/mm/fault.c
fault.c has a local forward decl of die()
So remove the decl in bug.h
Signed-off-by: Tom Rix <trix@redhat.com>
---
arch/h8300/include/asm/bug.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/h8300/include/asm/bug.h b/arch/h8300/include/asm/bug.h
index 00fe5e966bb5b..99e7be5dc6564 100644
--- a/arch/h8300/include/asm/bug.h
+++ b/arch/h8300/include/asm/bug.h
@@ -7,7 +7,4 @@
#include <asm-generic/bug.h>
-struct pt_regs;
-extern void die(const char *str, struct pt_regs *fp, unsigned long err);
-
#endif
--
2.26.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-17 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 21:50 [PATCH] h8300: bug: remove foreward decl of die() trix
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).