Messages in this thread Patch in this message | | | Subject | Re: linux/a.out.h is not exported to userspace | From | Khem Raj <> | Date | Fri, 23 May 2008 09:02:42 -0700 |
| |
On Fri, 2008-05-23 at 00:32 -0700, Andrew Morton wrote:
> > This breaks `make headerscheck' on s390: > > /usr/src/devel/usr/include/linux/a.out.h requires asm/a.out.h, which does not exist in exported headers > > which might be an s390 problem.
There was also this patch that David proposed here
http://lkml.org/lkml/2008/5/18/46
this patch also takes care of the architectures that do not have asm/a.out.h. I tried this patch on s390 and arm one with and one without asm/a.out.h
Thanks
-Khem
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 93b9885..b6fbb25 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -166,6 +166,9 @@ unifdef-y += acct.h unifdef-y += adb.h unifdef-y += adfs_fs.h unifdef-y += agpgart.h +ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h) +unifdef-y += a.out.h +endif unifdef-y += apm_bios.h unifdef-y += atalk.h unifdef-y += atmdev.h [unhandled content-type:application/pgp-signature] | |