diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-17 14:38:58 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-17 14:38:58 +0200 |
commit | 0545c22c9c07c55569e067c57ec184f018a54947 (patch) | |
tree | af22bc5f4488ae95ea49dbd256b4b1ba82ce43ab /lib/os_mon/src | |
parent | 16faeb48b504238aaabd64b6f3c206d4be1a3172 (diff) | |
parent | 6b51a01cd6333c15a7abad8e9ee8ac3773f49965 (diff) | |
download | otp-0545c22c9c07c55569e067c57ec184f018a54947.tar.gz otp-0545c22c9c07c55569e067c57ec184f018a54947.tar.bz2 otp-0545c22c9c07c55569e067c57ec184f018a54947.zip |
Merge branch 'jrobhoward/os_mon/fix-freebsd_get_os_wordsize/PR-1039/OTP-13601'
* jrobhoward/os_mon/fix-freebsd_get_os_wordsize/PR-1039/OTP-13601:
Fix memsup:get_os_wordsize() on 64-bit Linux PPC
os_mon: Test wordsize of memsup:get_os_wordsize/0
Fix memsup:get_os_wordsize() on 64-bit FreeBSD
Diffstat (limited to 'lib/os_mon/src')
-rw-r--r-- | lib/os_mon/src/memsup.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl index d9d3083540..4729d090f8 100644 --- a/lib/os_mon/src/memsup.erl +++ b/lib/os_mon/src/memsup.erl @@ -699,6 +699,8 @@ get_os_wordsize_with_uname() -> case String of "x86_64" -> 64; "sparc64" -> 64; + "amd64" -> 64; + "ppc64" -> 64; _ -> 32 end. |