On Sun, Sep 26, 2004 at 02:02:59PM -0700, Tom Rini wrote: > Hmmm.. How many of these <asm-ppc/foo.h> #includes <asm-m68k/foo.h> (or > #else's them in) does glibc (or really, any non-kernel user) need? > Would someone have the time to try casing all of these inside of #ifdef > __KERNEL__ ? I've finished doing similar for SH recently (asm/cpu/ and > asm/mach/ symlinks in this case) and found none of it was really needed.
How old were the kernel headers in question here? In 2.6 and 2.4 current, <asm-ppc/setup.h> is already protected with a __KERNEL__ test. -- Tom Rini http://gate.crashing.org/~trini/