Fix some ifdef logic in the libc syncicache() bit that I somehow missed in the

last commit. Now it really can use a runtime-set cacheline size.
This commit is contained in:
Nathan Whitehorn 2008-09-24 01:06:11 +00:00
parent 4c01c0b965
commit a63c2f9df0

View file

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