From d34c536b6e9f2e3c883c91c9144cc821aa5f7c44 Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Fri, 15 Aug 2014 13:15:24 +1000 Subject: [dev.power64] runtime: define page size on power64le systems to be 64k Fixes issue 8495. CL 128260043 updated the definition of syscall.GetPageSize to report 64k for power64 and power64le. This CL cleans up the last place where the page size was defined as 4k. LGTM=minux R=rsc, minux CC=golang-codereviews https://codereview.appspot.com/123520043 --- src/pkg/runtime/arch_power64le.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/arch_power64le.h b/src/pkg/runtime/arch_power64le.h index 3015e70aa..684ac9953 100644 --- a/src/pkg/runtime/arch_power64le.h +++ b/src/pkg/runtime/arch_power64le.h @@ -7,7 +7,7 @@ enum { BigEndian = 0, CacheLineSize = 64, RuntimeGogoBytes = 64, - PhysPageSize = 4096, + PhysPageSize = 65536, PCQuantum = 4, Int64Align = 8 }; -- cgit v1.2.1