Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David Woodhouse and committed by
Linus Torvalds
9a8ea369 a9e0f529

-8
-8
include/linux/a.out.h
··· 1 1 #ifndef __A_OUT_GNU_H__ 2 2 #define __A_OUT_GNU_H__ 3 3 4 - #ifdef CONFIG_ARCH_SUPPORTS_AOUT 5 - 6 4 #define __GNU_EXEC_MACROS__ 7 5 8 6 #ifndef __STRUCT_EXEC_OVERRIDE__ ··· 275 277 #endif /* no N_RELOCATION_INFO_DECLARED. */ 276 278 277 279 #endif /*__ASSEMBLY__ */ 278 - #else /* CONFIG_ARCH_SUPPORTS_AOUT */ 279 - #ifndef __ASSEMBLY__ 280 - struct exec { 281 - }; 282 - #endif 283 - #endif /* CONFIG_ARCH_SUPPORTS_AOUT */ 284 280 #endif /* __A_OUT_GNU_H__ */