All of lore.kernel.org
 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
Subject: Re: linux/a.out.h is not exported to userspace
Date: Fri, 23 May 2008 09:02:42 -0700	[thread overview]
Message-ID: <1211558562.10806.22.camel@isis> (raw)
In-Reply-To: <20080523003256.3ff82660.akpm@linux-foundation.org>

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

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


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

  reply	other threads:[~2008-05-23 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-17  0:13 linux/a.out.h is not exported to userspace 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 [this message]
2008-05-30  4:35   ` Khem Raj
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=1211558562.10806.22.camel@isis \
    --to=raj.khem@gmail.com \
    --cc=akpm@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.