summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/alloc.c b/sysdep/unix/alloc.c
index 6c68a865..8bd3770d 100644
--- a/sysdep/unix/alloc.c
+++ b/sysdep/unix/alloc.c
@@ -73,7 +73,7 @@ static event page_cleanup_event = { .hook = page_cleanup, };
_Atomic int pages_kept = 0;
_Atomic int pages_kept_locally = 0;
-static int pages_kept_here = 0;
+static _Thread_local int pages_kept_here = 0;
static void *
alloc_sys_page(void)