mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Fix CTR formatting for moea64_native bootstrap
On very large memory systems 'size' can become 2GB or larger, resulting in a negative value being formatted. Also, moea64_pteg_count is already a long, so format it as such.
This commit is contained in:
parent
a56867b8c5
commit
402c7806cb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335146
@ -453,7 +453,7 @@ moea64_bootstrap_native(mmu_t mmup, vm_offset_t kernelstart,
|
||||
*/
|
||||
|
||||
size = moea64_pteg_count * sizeof(struct lpteg);
|
||||
CTR2(KTR_PMAP, "moea64_bootstrap: %d PTEGs, %d bytes",
|
||||
CTR2(KTR_PMAP, "moea64_bootstrap: %lu PTEGs, %lu bytes",
|
||||
moea64_pteg_count, size);
|
||||
rw_init(&moea64_eviction_lock, "pte eviction");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user