A mmap64 patch
Jakub Jelinek
jakub@redhat.com
Sun May 27 04:02:00 GMT 2001
On Sun, May 27, 2001 at 12:51:40AM -0700, H . J . Lu wrote:
> This patch removes the duplication of mmap64.c. You also need
>
> http://sources.redhat.com/ml/libc-hacker/2001-05/msg00070.html
>
> for the MIPS support.
This is wrong on sparc32. sparc32 has page size either 4K or 8K, but the
mmap2 shift is always 12.
The value of PAGE_SHIFT depends on what the kernel has been configured for
(sun4 vs. sun4[cdm]).
Jakub
More information about the Libc-hacker
mailing list