On Thursday 26 June 2008, H. Peter Anvin wrote: > > The sanest way to do that would probably be something along the lines of: > > -> Change include/asm-xxx to arch/xxx/include/asm Sam Ravnborg is already working on this part. > -> Create arch/generic > -> Make sure arch/xxx/include/asm and arch/generic/include/asm are both > in the include path, in that order. > > That would also get rid of the symlink. It requires two more steps: - change all remaining users of #include <asm-generic/*.h> to include that file with the new name, e.g. #include <generic/asm/foo.h> if we have it in the right path. - change the way 'make headers_install' works so that the files get installed to the right location in $PREFIX/include/asm/ instead of $PREFIX/include/asm-generic/ for each header that does not exist in arch/foo/include/asm. These changes are probably somewhat controversial, and the first one is much more invasive than the patches that Sam has, so I'd not want to do them at the same time. > On the other hand, the redirection isn't all that bad. Agreed. I just have the hope that someone comes up with the magical solution for this problem that makes it a lot nicer than the suggestions so far or the current way of doing it ;-) Arnd <>< -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html