Fix conditional export of kvh.h and a.out.h to userspace.
authorKhem Raj <raj.khem@gmail.com>
Fri, 5 Sep 2008 06:11:01 +0000 (23:11 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Sep 2008 14:44:31 +0000 (15:44 +0100)
commitafbc8d8e72daa5a5faf6a0242186bdfcc42b2427
tree8d3c699c56daffdaa1d18507f23044fb7b9fd36f
parent076c7f4c6c55c37975c8e04ae6827267794d5d2e
Fix conditional export of kvh.h and a.out.h to userspace.

Some architectures have moved the asm/ into arch/ and some have not.
This patch checks for a.out.h and kvh.h in both places before exporting
the corresponding file from linux/

[dwmw2: simplified a little]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/asm-generic/Kbuild.asm
include/linux/Kbuild