Re: sys_mmap2 on different architectures

From: H. Peter Anvin
Date: Thu Feb 23 2006 - 12:41:44 EST


Ralf Baechle wrote:

A variable which happens to be fixed to 12 in practice. As explained by
Ben the API is only relevant to 32-bit kernels and afaik PAGE_SHIFT
other than 12 has only been successfully been tested on 64-bit kernels.


No, that's not correct. This API is relevant to 32-bit *USERSPACE*. If you support 32-bit userspace on a 64-bit kernel, it applies to 64-bit kernels, too.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/