summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2014-08-15 13:15:24 +1000
committerDave Cheney <dave@cheney.net>2014-08-15 13:15:24 +1000
commitd34c536b6e9f2e3c883c91c9144cc821aa5f7c44 (patch)
treed3598a6c5c7a79875217136edda8dc0eb925b949
parenta3dada1c457e490fbb56d7d7fdab1b2321de411e (diff)
downloadgo-d34c536b6e9f2e3c883c91c9144cc821aa5f7c44.tar.gz
[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
-rw-r--r--src/pkg/runtime/arch_power64le.h2
1 files changed, 1 insertions, 1 deletions
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
};