Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Make 32bit kernels compilable
details: https://anonhg.NetBSD.org/src/rev/9f8e7f8180d6
branches: trunk
changeset: 778419:9f8e7f8180d6
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 25 13:44:04 2012 +0000
description:
Make 32bit kernels compilable
diffstat:
sys/arch/sparc64/sparc64/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f21e363acb83 -r 9f8e7f8180d6 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c Sun Mar 25 10:01:06 2012 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c Sun Mar 25 13:44:04 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.172 2012/03/25 01:41:03 mrg Exp $ */
+/* $NetBSD: trap.c,v 1.173 2012/03/25 13:44:04 martin Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.172 2012/03/25 01:41:03 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.173 2012/03/25 13:44:04 martin Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -1158,7 +1158,7 @@
/* Disable traptrace for printf */
trap_trace_dis = 1;
(void) splhigh();
- printf("cpu%d: data fault: pc=%lx rpc=%lx addr=%lx\n",
+ printf("cpu%d: data fault: pc=%lx rpc=%"PRIu64" addr=%lx\n",
cpu_number(), pc, tf->tf_in[7], addr);
DEBUGGER(type, tf);
panic("kernel fault");
Home |
Main Index |
Thread Index |
Old Index