[PATCH] ppc32: removed usage of <asm/segment.h>

Kumar Gala kumar.gala at freescale.com
Fri Aug 19 02:25:19 EST 2005

On Aug 17, 2005, at 5:07 AM, Miklos Szeredi wrote:

>>> They are provided by _one_ kernel, not necessarily the running
> kernel.
>> No, they're provided by packages like glibc-kernheaders or similar
>> that are maintained separately.
> Yes.  And "maintenance" I presume means "copy" the kernel headers and
> do some cleanup to be compliant to the relevant standards (which the
> kernel maintainers couldn't be bothered to do).
>> They're split from the kernel headers and we don't need to keep
>> obsolete junk around.
> I agree about obsolete junk.
> However statements like "No kernel headers can be included by userland
> anymore" can be slightly misleading.

So after all of this its not clear to me if its acceptable to kill  
all users of <asm/segment.h> in the kernel and to move code that  
exists in <asm/segment.h> to <asm/uaccess.h> for arch's that need it.

- kumar

More information about the Linuxppc-dev mailing list