Re: bitops.h ifdef __KERNEL__ cleanup.

From: Eric W. Biederman (ebiederm@xmission.com)
Date: Fri Jul 27 2001 - 00:05:57 EST


Jeff Garzik <jgarzik@mandrakesoft.com> writes:

> > I think the idea with <asm/bitops.h> is that they are protected by
> > #ifdef __KERNEL__ if they are kernel-only; however, if they work in
> > user space then there is no #ifdef and autoconf can detect their
> > presence.
>
> Any amount of sharing between userspace and kernel -adds- constraints to
> kernel code, and leads to namespace pollution on both ends by careless
> (or busy!) developers.
>
> Let's remove restrictions and constraints from kernel code, not add to
> them...

Sounds reasonable. Do you think you can get them to remove
/usr/include/linux, and, /usr/include/asm in the next release of Mandrake?

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



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:30 EST