Module Name: src
Committed By: skrll
Date: Fri Nov 7 12:44:58 UTC 2014
Modified Files:
src/sys/arch/arm/arm32: pmap.c
Log Message:
The fixup debug message can report false positives on MULTIPROCESSOR, so
disable them there.
To generate a diff of this commit:
cvs rdiff -u -r1.310 -r1.311 src/sys/arch/arm/arm32/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/arm32/pmap.c
diff -u src/sys/arch/arm/arm32/pmap.c:1.310 src/sys/arch/arm/arm32/pmap.c:1.311
--- src/sys/arch/arm/arm32/pmap.c:1.310 Fri Nov 7 12:43:36 2014
+++ src/sys/arch/arm/arm32/pmap.c Fri Nov 7 12:44:58 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.310 2014/11/07 12:43:36 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.311 2014/11/07 12:44:58 skrll Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -215,7 +215,7 @@
#include <arm/locore.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.310 2014/11/07 12:43:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.311 2014/11/07 12:44:58 skrll Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -4574,6 +4574,7 @@ pmap_fault_fixup(pmap_t pm, vaddr_t va,
}
#endif
+#ifndef MULTIPROCESSOR
#if defined(DEBUG) || 1
/*
* If 'rv == 0' at this point, it generally indicates that there is a
@@ -4653,6 +4654,7 @@ pmap_fault_fixup(pmap_t pm, vaddr_t va,
#endif
}
#endif
+#endif
rv = 1;