Don't use mmap_heap_malloc unless HEAP_IN_LOW_MEMORY is defined.
authorChris Hanson <org/chris-hanson/cph>
Sun, 24 Jul 2005 05:21:11 +0000 (05:21 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 24 Jul 2005 05:21:11 +0000 (05:21 +0000)
v7/src/microcode/confshared.h

index df2c1aa8de9dad4640183b6e0ed5a728dcfe72ea..4593cbbbf7ffc53263c47366380b5f96b2006ecc 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: confshared.h,v 11.7 2003/07/22 02:19:51 cph Exp $
+$Id: confshared.h,v 11.8 2005/07/24 05:21:11 cph Exp $
 
 Copyright 2000,2002,2003 Massachusetts Institute of Technology
 
@@ -374,7 +374,7 @@ typedef unsigned long SCHEME_OBJECT;
 
 #endif /* __alpha */
 
-#ifdef USE_MMAP_HEAP_MALLOC
+#if defined(USE_MMAP_HEAP_MALLOC) && defined(HEAP_IN_LOW_MEMORY)
    extern void * mmap_heap_malloc (unsigned long);
 #  define HEAP_MALLOC mmap_heap_malloc
 #  define HEAP_FREE(address)