Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex KASSERT -> KASSERTMSG
details: https://anonhg.NetBSD.org/src/rev/886c2da9d50e
branches: trunk
changeset: 787426:886c2da9d50e
user: matt <matt%NetBSD.org@localhost>
date: Mon Jun 17 05:13:07 2013 +0000
description:
KASSERT -> KASSERTMSG
diffstat:
sys/arch/arm/cortex/pl310.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 146b95fda9fa -r 886c2da9d50e sys/arch/arm/cortex/pl310.c
--- a/sys/arch/arm/cortex/pl310.c Mon Jun 17 04:41:30 2013 +0000
+++ b/sys/arch/arm/cortex/pl310.c Mon Jun 17 05:13:07 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pl310.c,v 1.11 2013/02/13 23:10:58 matt Exp $ */
+/* $NetBSD: pl310.c,v 1.12 2013/06/17 05:13:07 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.11 2013/02/13 23:10:58 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.12 2013/06/17 05:13:07 matt Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -191,7 +191,9 @@
sc->sc_enabled = true;
}
- KASSERT(arm_pcache.dcache_line_size == arm_scache.dcache_line_size);
+ KASSERTMSG(arm_pcache.dcache_line_size == arm_scache.dcache_line_size,
+ "pcache %u scache %u",
+ arm_pcache.dcache_line_size, arm_scache.dcache_line_size);
}
static inline void
Home |
Main Index |
Thread Index |
Old Index