Skip to content

Commit

Permalink
drc: only use 64kb aligned tcache_default if on arm linux
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Mar 18, 2024
1 parent c87e36d commit 0ef1674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/drc/cmn.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <pico/pico_int.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
#define PICO_PAGE_ALIGN 65536
#else
Expand Down

0 comments on commit 0ef1674

Please sign in to comment.