lkml.org 
[lkml]   [2021]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] h8300: bug: remove foreward decl of die()
Date
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
\
 
 \ /
  Last update: 2021-06-17 23:51    [W:0.028 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site