Commit 6d452ae4 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

kernel: improve compatability for RPi

parent ac4b1142
......@@ -37,7 +37,7 @@
int kernel_get_cacheline_size()
{
#ifdef __linux__
#if defined(__linux__) && defined(__x86_64__)
return sysconf(_SC_LEVEL1_ICACHE_LINESIZE);
#else
return 64; /** @todo fixme */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment