Reduce brokenness of CRIS headers_install
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 20 Aug 2008 13:44:45 +0000 (14:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 20 Aug 2008 20:19:51 +0000 (13:19 -0700)
commit1c8e40e4064d51ec50258c4d381eb832c0b231db
tree73af2faa0293040d4cfd74bd958bdbe29b3676fd
parent1bbe44f69d7ea20740aaf5aba356e331a74b58b3
Reduce brokenness of CRIS headers_install

I won't say 'fix', because they still look broken, although this will at
least allow 'make ARCH=CRIS headers_install' to _complete_.

For headers which are exported, we should probably choose between
asm/arch-v10 and asm/arch-v32 by something that GCC defines -- we can't
rely on a generated symlink. And we certainly can't export an arch/
directory which doesn't even exist.

And the only thing that we seem to include from the arch/ directory is
<asm/arch/ptrace.h> from <asm/ptrace.h> ... and that isn't exported in
either arch-v10 or arch-v32 _anyway_.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-cris/Kbuild