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.
This commit is contained in:
parent
2ebc36c0fd
commit
03d5fdff96
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue