drc: only use 64kb aligned tcache_default if on arm linux

This commit is contained in:
kub 2024-03-18 19:40:01 +01:00
parent c87e36d750
commit 0ef1674dd1

View file

@ -10,7 +10,7 @@
#include <pico/pico_int.h> #include <pico/pico_int.h>
#include "cmn.h" #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 // might be running on a 64k-page kernel
#define PICO_PAGE_ALIGN 65536 #define PICO_PAGE_ALIGN 65536
#else #else