[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1212122144.32524.8.camel@isis>
Date: Thu, 29 May 2008 21:35:44 -0700
From: Khem Raj <raj.khem@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: k.shutemov@...il.com, linux-kernel@...r.kernel.org,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: linux/a.out.h is not exported to userspace
On Fri, 2008-05-23 at 00:32 -0700, Andrew Morton wrote:
> On Fri, 16 May 2008 17:13:57 -0700 Khem Raj <raj.khem@...il.com> 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.
The attached patch from David is a replacement patch. I have tested this
patch by running make headers_install on every architecture under arch/
It works for all (except 'um' and 'ppc' which do not export headers)
Thanks
-Khem
Signed-off-by: David Woodhouse <dwmw2@...radead.org>
Signed-off-by: Khem Raj <raj.khem@...il.com>
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
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists