Ahh, I didn't realize people did that.
I assume (but am too lazy to check) that UML probably does something
similar for its arch-specific stuff.
So yeah, it's probably more pain than it _should_ be, for reasons like
that.
But I suspect that things like <asm-sparc/foo.h> may be because sparc64
would actually like to add another -Iarch/sparc/include (until it
eventually can get rid of the thing _entirely_, of course, as it gets
unified under one architecture)
Linus
--