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
This commit is contained in:
parent
44729eb72b
commit
1eca213e3f
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue