Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/bjh21-hydra]: src/sys/arch/arm/arm32 Remove DEBUG check for pcb != curpc...
details: https://anonhg.NetBSD.org/src/rev/e49b27203785
branches: bjh21-hydra
changeset: 538367:e49b27203785
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Thu Oct 24 21:23:57 2002 +0000
description:
Remove DEBUG check for pcb != curpcb. This can legitimately occur if
curpcb == NULL and curproc == NULL on entry. At least, I think it's
legitimate.
diffstat:
sys/arch/arm/arm32/fault.c | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diffs (35 lines):
diff -r 0085e0fa4b64 -r e49b27203785 sys/arch/arm/arm32/fault.c
--- a/sys/arch/arm/arm32/fault.c Thu Oct 24 21:22:05 2002 +0000
+++ b/sys/arch/arm/arm32/fault.c Thu Oct 24 21:23:57 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fault.c,v 1.25.2.1 2002/10/19 14:04:36 bjh21 Exp $ */
+/* $NetBSD: fault.c,v 1.25.2.2 2002/10/24 21:23:57 bjh21 Exp $ */
/*
* Copyright (c) 1994-1997 Mark Brinicombe.
@@ -47,7 +47,7 @@
#include "opt_pmap_debug.h"
#include <sys/types.h>
-__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.25.2.1 2002/10/19 14:04:36 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.25.2.2 2002/10/24 21:23:57 bjh21 Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -303,16 +303,6 @@
printf("fault in process %p\n", p);
#endif
-#ifdef DEBUG
- /* Is this needed ? */
- if (pcb != curpcb) {
- printf("data_abort: Alert ! pcb(%p) != curpcb(%p)\n",
- pcb, curpcb);
- printf("data_abort: Alert ! proc(%p), curproc(%p)\n",
- p, curproc);
- }
-#endif /* DEBUG */
-
/* Were we in user mode when the abort occurred ? */
if ((frame->tf_spsr & PSR_MODE) == PSR_USR32_MODE) {
/*
Home |
Main Index |
Thread Index |
Old Index