Re: sys_mmap2 on different architectures

From: H. Peter Anvin
Date: Wed Feb 22 2006 - 20:04:58 EST


David S. Miller wrote:

At this point, I'm more than willing to treat SPARC as a special case, but I really want to know what the rules actually _ARE_ as opposed to what they are supposed to be (which they clearly are not.)

I have to admit I'm totally stumped...

Why are you invoking mmap2() instead of mmap64() btw?

Most 32-bit architectures don't have sys_mmap64; in fact the only one that seem to is parisc, for HPUX compatibility. I'm trying to keep the differences between architectures as small as possible.

-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/