diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/powerpc/gen/syncicache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/powerpc/gen/syncicache.c b/lib/libc/powerpc/gen/syncicache.c index 21a477e..434dcec 100644 --- a/lib/libc/powerpc/gen/syncicache.c +++ b/lib/libc/powerpc/gen/syncicache.c @@ -47,13 +47,15 @@ static const char rcsid[] = #include <machine/cpu.h> #include <machine/md_var.h> -#ifndef _KERNEL +#ifdef _STANDALONE int cacheline_size = 32; #endif #if !defined(_KERNEL) && !defined(_STANDALONE) #include <stdlib.h> +int cacheline_size = 0; + static void getcachelinesize(void); static void |