diff options
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | 2014-10-12 13:02:12 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-05-31 13:14:06 +0200 |
commit | 05eacfd00ccf239a24cfb409b084fa126c2e9468 (patch) | |
tree | b6ea71d773250a5e824d969080542bde4e223932 /arch/um/include/asm | |
parent | d5f20be7cab85e6e701751323eea77c7935ae522 (diff) | |
download | op-kernel-dev-05eacfd00ccf239a24cfb409b084fa126c2e9468.zip op-kernel-dev-05eacfd00ccf239a24cfb409b084fa126c2e9468.tar.gz |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/asm/sections.h b/arch/um/include/asm/sections.h index 3a6ebcc..cafcf68 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 |