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 32-bit kernels with DIAGNOSTIC...



details:   https://anonhg.NetBSD.org/src/rev/fc63f9068936
branches:  trunk
changeset: 573844:fc63f9068936
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sat Feb 12 09:38:28 2005 +0000

description:
Make 32-bit kernels with DIAGNOSTIC compile again.

diffstat:

 sys/arch/sparc64/sparc64/trap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a577b4c3462e -r fc63f9068936 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c   Sat Feb 12 09:38:25 2005 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c   Sat Feb 12 09:38:28 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.118 2005/01/29 22:42:19 martin Exp $ */
+/*     $NetBSD: trap.c,v 1.119 2005/02/12 09:38:28 nakayama 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.118 2005/01/29 22:42:19 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.119 2005/02/12 09:38:28 nakayama Exp $");
 
 #define NEW_FPSTATE
 
@@ -1178,7 +1178,7 @@
                        if (curlwp == NULL) {
                                panic("kernel data access fault accessing"
                                    " 0x%lx at pc 0x%lx\n",
-                                   va, tf->tf_pc);
+                                   va, (long)tf->tf_pc);
                        }
 #endif
                        rv = uvm_fault(kernel_map, va, 0, access_type);



Home | Main Index | Thread Index | Old Index