Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757157AbYFPNYH (ORCPT ); Mon, 16 Jun 2008 09:24:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756705AbYFPNXk (ORCPT ); Mon, 16 Jun 2008 09:23:40 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:50171 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756667AbYFPNXj (ORCPT ); Mon, 16 Jun 2008 09:23:39 -0400 To: torvalds@linux-foundation.org Cc: jacmet@sunsite.dk, dhowells@redhat.com, k.shutemov@gmail.com, linux-kernel@vger.kernel.org From: David Woodhouse Date: Mon, 16 Jun 2008 12:18:24 +0100 In-Reply-To: <87abhl7eqo.fsf@macbook.be.48ers.dk> Subject: [PATCH 3/4] Remove #ifdef CONFIG_ARCH_SUPPORTS_AOUT from Message-Id: X-Bad-Reply: In-Reply-To but no 'Re:' in Subject. X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1248 Lines: 42 This file is only included where it makes sense now, so there's no need for the CONFIG_ARCH_SUPPORTS_AOUT conditional -- and that conditional is bad, because we want to export to userspace. Signed-off-by: David Woodhouse Acked-by: Peter Korsgaard --- include/linux/a.out.h | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/include/linux/a.out.h b/include/linux/a.out.h index 208f4e8..e86dfca 100644 --- a/include/linux/a.out.h +++ b/include/linux/a.out.h @@ -1,8 +1,6 @@ #ifndef __A_OUT_GNU_H__ #define __A_OUT_GNU_H__ -#ifdef CONFIG_ARCH_SUPPORTS_AOUT - #define __GNU_EXEC_MACROS__ #ifndef __STRUCT_EXEC_OVERRIDE__ @@ -277,10 +275,4 @@ struct relocation_info #endif /* no N_RELOCATION_INFO_DECLARED. */ #endif /*__ASSEMBLY__ */ -#else /* CONFIG_ARCH_SUPPORTS_AOUT */ -#ifndef __ASSEMBLY__ -struct exec { -}; -#endif -#endif /* CONFIG_ARCH_SUPPORTS_AOUT */ #endif /* __A_OUT_GNU_H__ */ -- 1.5.5.1 -- 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/