From 03d5fdff96043def12bc387affd7efbae49dee8e Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 22 Sep 1998 01:40:28 +0000 Subject: [PATCH] Fix slightly liberal use of #ifdef DEBUG in last commit. If we get a data abort in SVC mode it is BAD and we cannot recover so we always want to panic. --- sys/arch/arm32/arm32/fault.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arch/arm32/arm32/fault.c b/sys/arch/arm32/arm32/fault.c index 91541696d65b..47500d864f55 100644 --- a/sys/arch/arm32/arm32/fault.c +++ b/sys/arch/arm32/arm32/fault.c @@ -1,4 +1,4 @@ -/* $NetBSD: fault.c,v 1.32 1998/09/21 11:24:11 tv Exp $ */ +/* $NetBSD: fault.c,v 1.33 1998/09/22 01:40:28 mark Exp $ */ /* * Copyright (c) 1994-1997 Mark Brinicombe. @@ -776,10 +776,7 @@ prefetch_abort_handler(frame) * All the kernel code pages are loaded at boot time * and do not get paged */ -#ifdef DEBUG - printf("Prefetch address = %08x\n", frame->tf_pc); panic("Prefetch abort in non-USR mode (frame=%p)\n", frame); -#endif } /* Get fault address */