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 kernel buildable again.



details:   https://anonhg.NetBSD.org/src/rev/c9791c17e1a1
branches:  trunk
changeset: 325541:c9791c17e1a1
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sat Dec 28 11:08:56 2013 +0000

description:
Make 32-bit kernel buildable again.

diffstat:

 sys/arch/sparc64/sparc64/pmap.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r ae2c66879127 -r c9791c17e1a1 sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Sat Dec 28 09:26:41 2013 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Sat Dec 28 11:08:56 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.283 2013/12/27 21:11:20 palle Exp $ */
+/*     $NetBSD: pmap.c,v 1.284 2013/12/28 11:08:56 nakayama Exp $      */
 /*
  *
  * Copyright (C) 1996-1999 Eduardo Horvath.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.283 2013/12/27 21:11:20 palle Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.284 2013/12/28 11:08:56 nakayama Exp $");
 
 #undef NO_VCACHE /* Don't forget the locked TLB in dostart */
 #define        HWREF
@@ -3799,7 +3799,8 @@
            0 /* IE */);
        hv_rc = hv_mmu_map_perm_addr(INTSTACK, data, MAP_DTLB);
        if ( hv_rc != H_EOK ) {
-               panic("hv_mmu_map_perm_addr() failed - rc = %ld\n", hv_rc);
+               panic("hv_mmu_map_perm_addr() failed - rc = %" PRId64 "\n",
+                   hv_rc);
        }
        else {
                memset((void *)INTSTACK, 0, 64 * KB);



Home | Main Index | Thread Index | Old Index