summaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm
diff options
context:
space:
mode:
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>2014-10-12 13:02:12 +0200
committerRichard Weinberger <richard@nod.at>2015-05-31 13:14:06 +0200
commit05eacfd00ccf239a24cfb409b084fa126c2e9468 (patch)
treeb6ea71d773250a5e824d969080542bde4e223932 /arch/um/include/asm
parentd5f20be7cab85e6e701751323eea77c7935ae522 (diff)
downloadlinux-05eacfd00ccf239a24cfb409b084fa126c2e9468.tar.bz2
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>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r--arch/um/include/asm/sections.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/asm/sections.h b/arch/um/include/asm/sections.h
index 3a6ebcc65519..cafcf684d947 100644
--- a/arch/um/include/asm/sections.h
+++ b/arch/um/include/asm/sections.h
@@ -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