Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422759AbWJFRO1 (ORCPT ); Fri, 6 Oct 2006 13:14:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422761AbWJFRO1 (ORCPT ); Fri, 6 Oct 2006 13:14:27 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:60396 "EHLO mail.codesourcery.com") by vger.kernel.org with ESMTP id S1422759AbWJFRO0 (ORCPT ); Fri, 6 Oct 2006 13:14:26 -0400 Date: Fri, 6 Oct 2006 17:14:24 +0000 (UTC) From: "Joseph S. Myers" X-X-Sender: jsm28@digraph.polyomino.org.uk To: linux-kernel@vger.kernel.org cc: David Woodhouse Subject: [PATCH] Remove "#ifdef linux" from linux/a.out.h Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1238 Lines: 41 The 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 --- 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 #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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/