summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-07-14 12:12:46 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2007-07-14 12:12:46 -0700
commitc2ee69d68750b51cd515d6eeedc5d45cd68baf12 (patch)
treef7da43524e65bc38f690be0c7e73c6a34295d7bd
parent7cd6c7ee05b45b578fe20077bce53dd95dd5e7b4 (diff)
downloadgem5-c2ee69d68750b51cd515d6eeedc5d45cd68baf12.tar.xz
Make NO_FAST_ALLOC compile.
--HG-- extra : convert_revision : 80579a61eb8d220e75cdee11bc09ca985c8fd85c
-rw-r--r--src/base/fast_alloc.cc8
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