Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/include/jemalloc/internal PR/54133: Se...



details:   https://anonhg.NetBSD.org/src/rev/a2b996fdcd75
branches:  trunk
changeset: 841243:a2b996fdcd75
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 05 18:14:19 2019 +0000

description:
PR/54133: Sevan Janiyan: Binaries fail to execute
Prefer MAX_PAGE_SHIFT over PAGE_SHIFT

diffstat:

 external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r 8d2178038c22 -r a2b996fdcd75 external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
--- a/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Sun May 05 18:13:16 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Sun May 05 18:14:19 2019 +0000
@@ -202,10 +202,10 @@
 
 /* One page is 2^LG_PAGE bytes. */
 #include <machine/vmparam.h>
-#if defined(PAGE_SHIFT)
+#if defined(MAX_PAGE_SHIFT)
+#define LG_PAGE MAX_PAGE_SHIFT
+#elif defined(PAGE_SHIFT)
 #define LG_PAGE PAGE_SHIFT
-#elif defined(MAX_PAGE_SHIFT)
-#define LG_PAGE MAX_PAGE_SHIFT
 #else
 #error "PAGE_SHIFT is not defined"
 #endif



Home | Main Index | Thread Index | Old Index