Commit 1eca213e by Andi Kleen Committed by Andi Kleen

ggc-page.c (USING_MADVISE): Adjust ifdef to check for USING_MMAP.

2011-10-17  Andi Kleen  <ak@linux.intel.com>

       * ggc-page.c (USING_MADVISE): Adjust ifdef to check for
       USING_MMAP.

From-SVN: r180107
parent 44729eb7
2011-10-17 Andi Kleen <ak@linux.intel.com>
* ggc-page.c (USING_MADVISE): Adjust ifdef to check for
USING_MMAP.
2011-10-17 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.h (ASSEMBLER_DIALECT): Remove.
......@@ -50,7 +50,7 @@ along with GCC; see the file COPYING3. If not see
#define USING_MALLOC_PAGE_GROUPS
#endif
#if defined(HAVE_MADVISE) && defined(MADV_DONTNEED)
#if defined(HAVE_MADVISE) && defined(MADV_DONTNEED) && defined(USING_MMAP)
# define USING_MADVISE
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment