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 Use MIN_PAGE...



details:   https://anonhg.NetBSD.org/src/rev/da7cfe85ee4f
branches:  trunk
changeset: 998161:da7cfe85ee4f
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 09 17:00:38 2019 +0000

description:
Use MIN_PAGE_SHIFT if PAGE_SHIFT is not available instead of MAX_PAGE_SHIFT.

diffstat:

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

diffs (14 lines):

diff -r 958237409d36 -r da7cfe85ee4f external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
--- a/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Tue Apr 09 14:47:14 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Tue Apr 09 17:00:38 2019 +0000
@@ -204,8 +204,8 @@
 #include <machine/vmparam.h>
 #if defined(PAGE_SHIFT)
 #define LG_PAGE PAGE_SHIFT
-#elif defined(MAX_PAGE_SHIFT)
-#define LG_PAGE MAX_PAGE_SHIFT
+#elif defined(MIN_PAGE_SHIFT)
+#define LG_PAGE MIN_PAGE_SHIFT
 #else
 #error "PAGE_SHIFT is not defined"
 #endif



Home | Main Index | Thread Index | Old Index