mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
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>
This commit is contained in:
parent
a9e0f5293d
commit
9a8ea36967
@ -1,8 +1,6 @@
|
|||||||
#ifndef __A_OUT_GNU_H__
|
#ifndef __A_OUT_GNU_H__
|
||||||
#define __A_OUT_GNU_H__
|
#define __A_OUT_GNU_H__
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_SUPPORTS_AOUT
|
|
||||||
|
|
||||||
#define __GNU_EXEC_MACROS__
|
#define __GNU_EXEC_MACROS__
|
||||||
|
|
||||||
#ifndef __STRUCT_EXEC_OVERRIDE__
|
#ifndef __STRUCT_EXEC_OVERRIDE__
|
||||||
@ -277,10 +275,4 @@ struct relocation_info
|
|||||||
#endif /* no N_RELOCATION_INFO_DECLARED. */
|
#endif /* no N_RELOCATION_INFO_DECLARED. */
|
||||||
|
|
||||||
#endif /*__ASSEMBLY__ */
|
#endif /*__ASSEMBLY__ */
|
||||||
#else /* CONFIG_ARCH_SUPPORTS_AOUT */
|
|
||||||
#ifndef __ASSEMBLY__
|
|
||||||
struct exec {
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
#endif /* CONFIG_ARCH_SUPPORTS_AOUT */
|
|
||||||
#endif /* __A_OUT_GNU_H__ */
|
#endif /* __A_OUT_GNU_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user