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

From: Kumar Gala
Date: Thu Aug 18 2005 - 11:25:57 EST



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