Commit 9a8ea36967afad617d9b0930b6fe7592b9ed9772
Committed by
Linus Torvalds
1 parent
a9e0f5293d
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 0 additions and 8 deletions Side-by-side Diff
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__ |
... | ... | @@ -277,11 +275,5 @@ |
277 | 275 | #endif /* no N_RELOCATION_INFO_DECLARED. */ |
278 | 276 | |
279 | 277 | #endif /*__ASSEMBLY__ */ |
280 | -#else /* CONFIG_ARCH_SUPPORTS_AOUT */ | |
281 | -#ifndef __ASSEMBLY__ | |
282 | -struct exec { | |
283 | -}; | |
284 | -#endif | |
285 | -#endif /* CONFIG_ARCH_SUPPORTS_AOUT */ | |
286 | 278 | #endif /* __A_OUT_GNU_H__ */ |