diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-07-14 12:12:46 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-07-14 12:12:46 -0700 |
commit | c2ee69d68750b51cd515d6eeedc5d45cd68baf12 (patch) | |
tree | f7da43524e65bc38f690be0c7e73c6a34295d7bd /src | |
parent | 7cd6c7ee05b45b578fe20077bce53dd95dd5e7b4 (diff) | |
download | gem5-c2ee69d68750b51cd515d6eeedc5d45cd68baf12.tar.xz |
Make NO_FAST_ALLOC compile.
--HG--
extra : convert_revision : 80579a61eb8d220e75cdee11bc09ca985c8fd85c
Diffstat (limited to 'src')
-rw-r--r-- | src/base/fast_alloc.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/fast_alloc.cc b/src/base/fast_alloc.cc index 610dff66c..e1298a8bd 100644 --- a/src/base/fast_alloc.cc +++ b/src/base/fast_alloc.cc @@ -34,15 +34,15 @@ * by permission. */ -#ifndef NO_FAST_ALLOC +#include <assert.h> +#include "base/fast_alloc.hh" + +#if !NO_FAST_ALLOC #ifdef __GNUC__ #pragma implementation #endif -#include <assert.h> -#include "base/fast_alloc.hh" - void *FastAlloc::freeLists[Num_Buckets]; #ifdef FAST_ALLOC_STATS |