From 2a2d096b61262c2059ea022379869b9c4a70eafa Mon Sep 17 00:00:00 2001
From: Kimplul <kimi.h.kuparinen@gmail.com>
Date: Fri, 14 Mar 2025 22:33:57 +0200
Subject: protect jit pages

---
 tests/bner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'tests/bner.c')

diff --git a/tests/bner.c b/tests/bner.c
index d5ceb80..94d6236 100644
--- a/tests/bner.c
+++ b/tests/bner.c
@@ -20,7 +20,7 @@ int main(int argc, char *argv[])
 	ejit_patch(f, r, l);
 	ejit_reti(f, 1);
 
-	ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit);
+	ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit, true);
 
 	assert(erfi2(f, EJIT_ARG( 0, long), EJIT_ARG( 0, long)) == 0);
 	assert(erfi2(f, EJIT_ARG( 0, long), EJIT_ARG( 1, long)) == 1);
-- 
cgit v1.2.3