Date: Thu, 31 Oct 2013 20:42:48 +0000 (UTC) From: Andreas Tobler <andreast@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257473 - head/sys/powerpc/pseries Message-ID: <201310312042.r9VKgmoT052201@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andreast Date: Thu Oct 31 20:42:47 2013 New Revision: 257473 URL: http://svnweb.freebsd.org/changeset/base/257473 Log: Ouch, do the shift properly. An uin64_t needs the right postfix when shifting. Modified: head/sys/powerpc/pseries/mmu_phyp.c Modified: head/sys/powerpc/pseries/mmu_phyp.c ============================================================================== --- head/sys/powerpc/pseries/mmu_phyp.c Thu Oct 31 20:33:21 2013 (r257472) +++ head/sys/powerpc/pseries/mmu_phyp.c Thu Oct 31 20:42:47 2013 (r257473) @@ -166,7 +166,7 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t } } moea64_large_page_shift = shift; - moea64_large_page_size = 1 << shift; + moea64_large_page_size = 1ULL << shift; } moea64_mid_bootstrap(mmup, kernelstart, kernelend);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310312042.r9VKgmoT052201>