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/skas | |
parent | um: Create asm/sections.h (diff) | |
download | linux-05eacfd00ccf239a24cfb409b084fa126c2e9468.tar.xz linux-05eacfd00ccf239a24cfb409b084fa126c2e9468.zip |
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/skas')
-rw-r--r-- | arch/um/kernel/skas/mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c index 2216eddc6893..fda1deba1757 100644 --- a/arch/um/kernel/skas/mmu.c +++ b/arch/um/kernel/skas/mmu.c @@ -92,7 +92,7 @@ void uml_setup_stubs(struct mm_struct *mm) int err, ret; ret = init_stub_pte(mm, STUB_CODE, - (unsigned long) &__syscall_stub_start); + (unsigned long) __syscall_stub_start); if (ret) goto out; @@ -100,7 +100,7 @@ void uml_setup_stubs(struct mm_struct *mm) if (ret) goto out; - mm->context.stub_pages[0] = virt_to_page(&__syscall_stub_start); + mm->context.stub_pages[0] = virt_to_page(__syscall_stub_start); mm->context.stub_pages[1] = virt_to_page(mm->context.id.stack); /* dup_mmap already holds mmap_sem */ |