runtime: fix TestPhysPageSize on AIX
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 26 Apr 2019 17:20:55 +0000 (17:20 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 26 Apr 2019 17:20:55 +0000 (17:20 +0000)
commit8d266165b9c1b303efab1881120b9d5a6feb437a
tree17d3ae67a1b9be4cc4873eb79698c260cdc76687
parentca2efef75d700d651af8e5df61b014ed7c01b350
runtime: fix TestPhysPageSize on AIX

    AIX doesn't allow to mmap an address range which is already mmap.
    Therefore, once the region has been allocated, it must munmap before
    being able to play with it.
    The corresponding Go Toolchain patch is CL 174059.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/174138

From-SVN: r270615
gcc/go/gofrontend/MERGE
libgo/go/runtime/runtime_mmap_test.go