Ouch, do the shift properly. An uin64_t needs the right postfix when shifting.

This commit is contained in:
Andreas Tobler 2013-10-31 20:42:47 +00:00
parent f7a3a2a57c
commit 12e7de228a

View File

@ -166,7 +166,7 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend)
}
}
moea64_large_page_shift = shift;
moea64_large_page_size = 1 << shift;
moea64_large_page_size = 1ULL << shift;
}
moea64_mid_bootstrap(mmup, kernelstart, kernelend);