[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210617215027.3501613-1-trix@redhat.com>
Date: Thu, 17 Jun 2021 14:50:27 -0700
From: trix@...hat.com
To: ysato@...rs.sourceforge.jp
Cc: uclinux-h8-devel@...ts.sourceforge.jp,
linux-kernel@...r.kernel.org, Tom Rix <trix@...hat.com>
Subject: [PATCH] h8300: bug: remove foreward decl of die()
From: Tom Rix <trix@...hat.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@...hat.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
Powered by blists - more mailing lists