Messages in this thread | | | Date | Wed, 3 Dec 2008 13:19:55 +0100 | From | Andi Kleen <> | Subject | Re: New location for generic headers? |
| |
> 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.
-Andi
| |