Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm KASSERT -> MASSERTMSG
details: https://anonhg.NetBSD.org/src/rev/5f094708a02d
branches: trunk
changeset: 823866:5f094708a02d
user: skrll <skrll%NetBSD.org@localhost>
date: Fri May 12 05:46:39 2017 +0000
description:
KASSERT -> MASSERTMSG
diffstat:
sys/arch/arm/arm/ast.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r b0c40de743c8 -r 5f094708a02d sys/arch/arm/arm/ast.c
--- a/sys/arch/arm/arm/ast.c Fri May 12 05:45:58 2017 +0000
+++ b/sys/arch/arm/arm/ast.c Fri May 12 05:46:39 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ast.c,v 1.28 2015/04/17 17:28:33 matt Exp $ */
+/* $NetBSD: ast.c,v 1.29 2017/05/12 05:46:39 skrll Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ast.c,v 1.28 2015/04/17 17:28:33 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ast.c,v 1.29 2017/05/12 05:46:39 skrll Exp $");
#include "opt_ddb.h"
@@ -80,7 +80,9 @@
#ifdef __HAVE_PREEMPTION
kpreempt_disable();
#endif
- KASSERT(curcpu()->ci_pmap_cur == l->l_proc->p_vmspace->vm_map.pmap);
+ KASSERTMSG(curcpu()->ci_pmap_cur == l->l_proc->p_vmspace->vm_map.pmap,
+ "%p vs %p", curcpu()->ci_pmap_cur,
+ l->l_proc->p_vmspace->vm_map.pmap);
if (__predict_false(armreg_ttbcr_read() & TTBCR_S_PD0)) {
pmap_activate(l);
}
Home |
Main Index |
Thread Index |
Old Index