Moving include/asm-* [was: Re: Moving sound/* to drivers/ ?]

Paul Mackerras
2008-05-21T23:22:26Z

Linus Torvalds writes:

> Me personally, I've been more irritated by include/asm-xyz vs arch/xyz. It
> would be so nice if all the arch-specific changes woudl always show up
> under arch/ (both from a statistics standpoint, and just because then a
> diffstat really shows arch-specific stuff really obviously, and sorts all
> the arch-specific stuff together).

We could git mv include/asm-xyz arch/xyz/asm and then arrange to pass
-Iarch/$(ARCH) to gcc. The only downside is that "asm" is a slightly
strange name for a directory of include files, but I assume we don't
want to have to change all the #include <asm/blah.h> lines in all the
*.c files.

Paul.