Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Allow BUS_SPACE_DEBUG to compile on amd64.
details: https://anonhg.NetBSD.org/src/rev/1c7f78cbe1ce
branches: trunk
changeset: 756646:1c7f78cbe1ce
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Tue Jul 27 13:54:19 2010 +0000
description:
Allow BUS_SPACE_DEBUG to compile on amd64.
diffstat:
sys/arch/x86/x86/bus_space.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cb255a488860 -r 1c7f78cbe1ce sys/arch/x86/x86/bus_space.c
--- a/sys/arch/x86/x86/bus_space.c Tue Jul 27 12:40:48 2010 +0000
+++ b/sys/arch/x86/x86/bus_space.c Tue Jul 27 13:54:19 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.30 2010/07/06 20:50:35 cegger Exp $ */
+/* $NetBSD: bus_space.c,v 1.31 2010/07/27 13:54:19 jakllsch Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.30 2010/07/06 20:50:35 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.31 2010/07/27 13:54:19 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -63,7 +63,7 @@
#define BUS_SPACE_ADDRESS_SANITY(p, t, d) \
({ \
if (BUS_SPACE_ALIGNED_ADDRESS((p), t) == 0) { \
- printf("%s 0x%lx not aligned to %d bytes %s:%d\n", \
+ printf("%s 0x%lx not aligned to %zu bytes %s:%d\n", \
d, (u_long)(p), sizeof(t), __FILE__, __LINE__); \
} \
(void) 0; \
Home |
Main Index |
Thread Index |
Old Index