Re: New location for generic headers?

From: Andi Kleen
Date: Wed Dec 03 2008 - 07:09:07 EST

> Should we try to get rid of all those silly:
> #include <asm-generic/foo.h>
> files we have in arch/$ARCH/include/asm?
> We could for example add include/generic/ last in the search path.
> Or we could add the files in include/asm and add that last in the
> search path.
> Then if we do not find <asm/foo.h> in arch/$ARCH/include/asm/
> then we search include/asm.

The only problem I see is that it would user space use of asm/
without make headers_install impossible. I suppose that could
break the setup of a lot of people? I think it would cause
problems on some of my older boxes at least.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at