Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2016 03:52:14 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294759 - head/sys/powerpc/booke
Message-ID:  <201601260352.u0Q3qEE2058914@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Tue Jan 26 03:52:14 2016
New Revision: 294759
URL: https://svnweb.freebsd.org/changeset/base/294759

Log:
  Fix a debug printf().
  
  Somehow this printf() was missed in the conversion of vm_paddr_t to 64-bit, and
  made it through until now.
  
  Sponsored by:	Alex Perez/Inertial Computing

Modified:
  head/sys/powerpc/booke/pmap.c

Modified: head/sys/powerpc/booke/pmap.c
==============================================================================
--- head/sys/powerpc/booke/pmap.c	Tue Jan 26 01:16:45 2016	(r294758)
+++ head/sys/powerpc/booke/pmap.c	Tue Jan 26 03:52:14 2016	(r294759)
@@ -1305,8 +1305,8 @@ mmu_booke_bootstrap(mmu_t mmu, vm_offset
 
 	debugf("Maxmem = 0x%08lx\n", Maxmem);
 	debugf("phys_avail_count = %d\n", phys_avail_count);
-	debugf("physsz = 0x%08x physmem = %ld (0x%08lx)\n", physsz, physmem,
-	    physmem);
+	debugf("physsz = 0x%09jx physmem = %jd (0x%09jx)\n",
+	    (uintmax_t)physsz, (uintmax_t)physmem, (uintmax_t)physmem);
 
 	/*******************************************************/
 	/* Initialize (statically allocated) kernel pmap. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601260352.u0Q3qEE2058914>