[PATCH] alpha bits/mman.h vs mman-linux.h
Carlos O'Donell
carlos@redhat.com
Fri Dec 6 17:13:00 GMT 2013
On 12/06/2013 11:31 AM, Richard Henderson wrote:
> Joseph mentions in the wiki that alpha isn't using <bits/mman-linux.h>. I'd
> been avoiding this because mman-linux.h isn't quite as configurable as it might
> be, but here's a first cut.
>
> Is this reasonable, with the undefs? Ought I play more with __FOO as we
> already do for __MAP_ANONYMOUS?
I think it is.
It's the approach I think the upstream kernel needs to make to cleanup mman.h.
See my upstream linux RFC here:
http://www.spinics.net/lists/linux-api/msg02064.html
For each target:
(a) Include a common mman.h
(b) Undef everything that's wrong.
(c) Define your own changes.
I did a lot of review work for that RFC, there are a lot of things that could
go into mman-linux.h to make the final files smaller.
Cheers,
Carlos.
More information about the Libc-alpha
mailing list