Re: S390 vs S390x, was Re: [kbuild-devel] Re: [patch] kernel config 3/N - move sound into drivers/media

Christoph Hellwig (hch@infradead.org)
Wed, 14 Aug 2002 20:22:11 +0100


On Wed, Aug 14, 2002 at 11:18:13PM +0200, Arnd Bergmann wrote:
> Ok. So what happens there if a user space program e.g. does #include
> <asm/page.h>? Where does that go instead of /usr/include/asm/page.h?

First: Userspace including asm/* headers is BROKEN. But as we have lots
of broken userspace we still to have to support that for some time. The
solution is to have a wrapper that includes either asm-<b> or asm-<a>
depending on some cpp symbol. Look at redhat's old kernel rpms for an
example.

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