um: Use char[] for linker script address declarations
The linker script defines some variables which are declared either with type char[] in include/asm-generic/sections.h or with a meaningless integer type in arch/um/include/asm/sections.h. Fix this inconsistency by declaring every variable char[]. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:

committed by
Richard Weinberger

parent
d5f20be7ca
commit
05eacfd00c
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <asm-generic/sections.h>
|
||||
|
||||
extern char __binary_start;
|
||||
extern int __syscall_stub_start, __syscall_stub_end;
|
||||
extern char __binary_start[];
|
||||
extern char __syscall_stub_start[], __syscall_stub_end[];
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user