svn commit: r294759 - head/sys/powerpc/booke
Justin Hibbits
jhibbits at FreeBSD.org
Tue Jan 26 03:52:15 UTC 2016
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. */
More information about the svn-src-head
mailing list