summaryrefslogtreecommitdiffstats
path: root/test/unit/pages.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-05-30 16:54:49 (GMT)
committerJason Evans <jasone@canonware.com>2017-05-30 18:30:54 (GMT)
commitc606a87d2a2a946793cf0a29ca69a1962caf6008 (patch)
treec05fd628e3bd24cd68de881da3f4a2601d767f7d /test/unit/pages.c
parentbf6673a070a7d0b12a4d25c1f64dcf562f61f10a (diff)
downloadjemalloc-c606a87d2a2a946793cf0a29ca69a1962caf6008.zip
jemalloc-c606a87d2a2a946793cf0a29ca69a1962caf6008.tar.gz
jemalloc-c606a87d2a2a946793cf0a29ca69a1962caf6008.tar.bz2
Add the --disable-thp option to support cross compiling.
This resolves #669.
Diffstat (limited to 'test/unit/pages.c')
-rw-r--r--test/unit/pages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/pages.c b/test/unit/pages.c
index 4457f36..67dbb4c 100644
--- a/test/unit/pages.c
+++ b/test/unit/pages.c
@@ -11,7 +11,7 @@ TEST_BEGIN(test_pages_huge) {
assert_ptr_not_null(pages, "Unexpected pages_map() error");
hugepage = (void *)(ALIGNMENT_CEILING((uintptr_t)pages, HUGEPAGE));
- assert_b_ne(pages_huge(hugepage, HUGEPAGE), have_thp,
+ assert_b_ne(pages_huge(hugepage, HUGEPAGE), config_thp,
"Unexpected pages_huge() result");
assert_false(pages_nohuge(hugepage, HUGEPAGE),
"Unexpected pages_nohuge() result");