Bug 867911 - Add OpenBSD and NetBSD to list of sparc64 systems with 8k pages. r=terrence

This commit is contained in:
Martin Husemann 2013-05-02 20:35:32 -04:00
parent 248cccd510
commit 745d32a5b8

View File

@ -19,7 +19,7 @@ namespace gc {
* Note: The freelist supports a maximum arena shift of 15.
* Note: Do not use JS_CPU_SPARC here, this header is used outside JS.
*/
#if (defined(SOLARIS) || defined(__FreeBSD__)) && \
#if (defined(SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && \
(defined(__sparc) || defined(__sparcv9) || defined(__ia64))
const size_t PageShift = 13;
const size_t ArenaShift = PageShift;