Remove #ifdef CONFIG_ARCH_SUPPORTS_AOUT from <linux/a.out.h>

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, June 16, 2008 - 1:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9a8ea3...
Commit:     9a8ea36967afad617d9b0930b6fe7592b9ed9772
Parent:     a9e0f5293d4999f93b469af4e70382db800a8204
Author:     David Woodhouse <dwmw2@infradead.org>
AuthorDate: Mon Jun 16 12:18:24 2008 +0100
Committer:  Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Mon Jun 16 10:20:58 2008 -0700

    Remove #ifdef CONFIG_ARCH_SUPPORTS_AOUT from <linux/a.out.h>
    
    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 <linux/a.out.h> to userspace.
    
    Signed-off-by: David Woodhouse <dwmw2@infradead.org>
    Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 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__ */
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Remove #ifdef CONFIG_ARCH_SUPPORTS_AOUT from <linux/a.out.h>, Linux Kernel Mailing ..., (Mon Jun 16, 1:59 pm)