diff options
| author | Dave Cheney <dave@cheney.net> | 2014-08-15 13:15:24 +1000 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2014-08-15 13:15:24 +1000 |
| commit | f9fdc887ae71ebcf26c980f2f15ace2efec94881 (patch) | |
| tree | c3423bdaae78f0f60b00e7bda71fce993a0b4923 /src | |
| parent | 249e8f700ac332cf9ad74064837b5c66ebb96944 (diff) | |
| download | go-f9fdc887ae71ebcf26c980f2f15ace2efec94881.tar.xz | |
[dev.power64] runtime: define page size on power64le systems to be 64k
Fixes #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://golang.org/cl/123520043
Diffstat (limited to 'src')
| -rw-r--r-- | src/pkg/runtime/arch_power64le.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/arch_power64le.h b/src/pkg/runtime/arch_power64le.h index 3015e70aa6..684ac9953b 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 }; |
