From 0ef1674dd1757f3be0109e121a1461fd2602b68b Mon Sep 17 00:00:00 2001 From: kub Date: Mon, 18 Mar 2024 19:40:01 +0100 Subject: [PATCH] drc: only use 64kb aligned tcache_default if on arm linux --- cpu/drc/cmn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/drc/cmn.c b/cpu/drc/cmn.c index b0b7308f..65ffd043 100644 --- a/cpu/drc/cmn.c +++ b/cpu/drc/cmn.c @@ -10,7 +10,7 @@ #include #include "cmn.h" -#if defined(__aarch64__) || defined(__VFP_FP__) +#if defined(__linux__) && (defined(__aarch64__) || defined(__VFP_FP__)) // might be running on a 64k-page kernel #define PICO_PAGE_ALIGN 65536 #else -- 2.39.5