From: "Joseph S. Myers" <joseph@codesourcery.com>
To: linux-kernel@vger.kernel.org
Cc: David Woodhouse <dwmw2@infradead.org>
Subject: [PATCH] Remove "#ifdef linux" from linux/a.out.h
Date: Fri, 6 Oct 2006 17:14:24 +0000 (UTC) [thread overview]
Message-ID: <Pine.LNX.4.64.0610061712110.18057@digraph.polyomino.org.uk> (raw)
The <linux/a.out.h> header contains "#ifdef linux". GCC's fixincludes
then creates its own copy of the installed header with this changed to
"#ifdef __linux__". There should be no need for "#ifdef linux" in
Linux kernel headers, so this patch removes the conditional. With
this patch, fixincludes (from GCC 4.1) makes no changes to the headers
installed by "make headers_install" on MIPS (I haven't tested on other
architectures).
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
---
Index: include/linux/a.out.h
===================================================================
--- include/linux/a.out.h
+++ include/linux/a.out.h
@@ -127,7 +127,6 @@
#define SEGMENT_SIZE PAGE_SIZE
#endif
-#ifdef linux
#include <asm/page.h>
#if defined(__i386__) || defined(__mc68000__)
#define SEGMENT_SIZE 1024
@@ -136,7 +135,6 @@
#define SEGMENT_SIZE PAGE_SIZE
#endif
#endif
-#endif
#define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE)
--
Joseph S. Myers
joseph@codesourcery.com
next reply other threads:[~2006-10-06 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-06 17:14 Joseph S. Myers [this message]
2011-10-11 14:30 Joseph S. Myers
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=Pine.LNX.4.64.0610061712110.18057@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=dwmw2@infradead.org \
--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
all inboxes | Powered by JetHome®