mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: k.shutemov@gmail.com, linux-kernel@vger.kernel.org,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: linux/a.out.h is not exported to userspace
Date: Thu, 29 May 2008 21:35:44 -0700	[thread overview]
Message-ID: <1212122144.32524.8.camel@isis> (raw)
In-Reply-To: <20080523003256.3ff82660.akpm@linux-foundation.org>

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

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@gmail.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@infradead.org>
Signed-off-by: Khem Raj <raj.khem@gmail.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


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2008-05-30  4:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-17  0:13 Khem Raj
2008-05-17 13:29 ` Stefan Hellermann
2008-05-17 15:17 ` Pekka Enberg
2008-05-18 11:16 ` David Woodhouse
2008-05-23  7:32 ` Andrew Morton
2008-05-23 16:02   ` Khem Raj
2008-05-30  4:35   ` Khem Raj [this message]
2008-05-30  5:45     ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1212122144.32524.8.camel@isis \
    --to=raj.khem@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=dwmw2@infradead.org \
    --cc=k.shutemov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome