parisc: Move die_if_kernel() prototype into traps.h header
Helge Deller
maintainerPATCH 1/1 parisc: Move die_if_kernel() prototype into traps.h header
Signed-off-by Helge Deller <[email protected]>
arch/parisc/include/asm/traps.h +2 -0
@@ -8,6 +8,8 @@ struct pt_regs;void parisc_terminate (char *msg,struct pt_regs *regs,int code,unsigned long offset)__noreturn __cold ; +void die_if_kernel (char *str,struct pt_regs *regs,long err); +/* mm/fault.c */ void do_page_fault (struct pt_regs *regs,unsigned long code,unsigned long address);
arch/parisc/kernel/unaligned.c +1 -1
@@ -28,6 +28,7 @@#include <linux/ratelimit.h> #include <asm/uaccess.h> #include <asm/hardirq.h> +#include <asm/traps.h> /* #define DEBUG_UNALIGNED 1 */
@@ -130,8 +131,6 @@int unaligned_enabled__read_mostly =1 ; -void die_if_kernel (char *str,struct pt_regs *regs,long err);