Re: [PATCH] Fix PCH on MIPS

2011-11-17 Thread Richard Sandiford
Andrew Pinski writes: > On Mon, Nov 14, 2011 at 3:41 PM, Andrew Pinski > wrote: >> Since Linux 2.6.36, both the heap and mmap are randomized on MIPS like >> other architectures. This breaks PCH because currently >> TRY_EMPTY_VM_SPACE is not defined for MIPS. >> This patch fixes the issue and allo

Re: [PATCH] Fix PCH on MIPS

2011-11-14 Thread Andrew Pinski
On Mon, Nov 14, 2011 at 3:41 PM, Andrew Pinski wrote: > Since Linux 2.6.36, both the heap and mmap are randomized on MIPS like > other architectures. This breaks PCH because currently > TRY_EMPTY_VM_SPACE is not defined for MIPS. > This patch fixes the issue and allows largefile test to pass now.

[PATCH] Fix PCH on MIPS

2011-11-14 Thread Andrew Pinski
Since Linux 2.6.36, both the heap and mmap are randomized on MIPS like other architectures. This breaks PCH because currently TRY_EMPTY_VM_SPACE is not defined for MIPS. This patch fixes the issue and allows largefile test to pass now. OK? Bootstraped and tested on mips64-linux-gnu. Thanks, Andre