Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev Make 32-bit kernels compile with option...
details: https://anonhg.NetBSD.org/src/rev/8fe572e63133
branches: trunk
changeset: 559695:8fe572e63133
user: nakayama <nakayama%NetBSD.org@localhost>
date: Mon Mar 22 12:20:52 2004 +0000
description:
Make 32-bit kernels compile with options DIAGNOSTIC.
diffstat:
sys/arch/sparc64/dev/iommu.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c6a54ddce6d9 -r 8fe572e63133 sys/arch/sparc64/dev/iommu.c
--- a/sys/arch/sparc64/dev/iommu.c Mon Mar 22 12:19:49 2004 +0000
+++ b/sys/arch/sparc64/dev/iommu.c Mon Mar 22 12:20:52 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iommu.c,v 1.72 2004/02/13 22:47:04 snj Exp $ */
+/* $NetBSD: iommu.c,v 1.73 2004/03/22 12:20:52 nakayama Exp $ */
/*
* Copyright (c) 2001, 2002 Eduardo Horvath
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.72 2004/02/13 22:47:04 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.73 2004/03/22 12:20:52 nakayama Exp $");
#include "opt_ddb.h"
@@ -987,7 +987,8 @@
}
#ifdef DIAGNOSTIC
if (i == map->dm_nsegs && len > 0)
- panic("iommu_dvmamap_sync: leftover %lu", len);
+ panic("iommu_dvmamap_sync: leftover %llu",
+ (unsigned long long)len);
#endif
if (needsflush)
Home |
Main Index |
Thread Index |
Old Index