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/kernel/um_arch.c | |
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/kernel/um_arch.c')
-rw-r--r-- | arch/um/kernel/um_arch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index ffa185d..16630e7 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -292,7 +292,7 @@ int __init linux_main(int argc, char **argv) physmem_size += UML_ROUND_UP(brk_start) - UML_ROUND_UP(&_end); } - uml_physmem = (unsigned long) &__binary_start & PAGE_MASK; + uml_physmem = (unsigned long) __binary_start & PAGE_MASK; /* Reserve up to 4M after the current brk */ uml_reserved = ROUND_4M(brk_start) + (1 << 22); |