1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

kernel: improve compatability for RPi

This commit is contained in:
Steffen Vogel 2018-10-19 14:27:02 +02:00
parent 2144fdf37f
commit 21b6937599

View file

@ -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 */