diff options
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | 2014-10-12 13:02:11 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-05-31 13:14:05 +0200 |
commit | d5f20be7cab85e6e701751323eea77c7935ae522 (patch) | |
tree | d560ec0a1869a1399291d216e3b4df4d2a33ed43 /arch/um/kernel/physmem.c | |
parent | ba155e2d21f6bf05de86a78dbe5bfd8757604a65 (diff) | |
download | linux-d5f20be7cab85e6e701751323eea77c7935ae522.tar.gz linux-d5f20be7cab85e6e701751323eea77c7935ae522.tar.bz2 linux-d5f20be7cab85e6e701751323eea77c7935ae522.zip |
um: Create asm/sections.h
arch/um/kernel/dyn.lds.S and arch/um/kernel/uml.lds.S define some
UML-specific symbols. These symbols are used in the kernel part of UML
with extern declarations.
Move these declarations to a new header, asm/sections.h, like other
architectures do.
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/physmem.c')
-rw-r--r-- | arch/um/kernel/physmem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c index 9034fc8056b4..249c9feb5485 100644 --- a/arch/um/kernel/physmem.c +++ b/arch/um/kernel/physmem.c @@ -8,6 +8,7 @@ #include <linux/mm.h> #include <linux/pfn.h> #include <asm/page.h> +#include <asm/sections.h> #include <as-layout.h> #include <init.h> #include <kern.h> @@ -55,8 +56,6 @@ void map_memory(unsigned long virt, unsigned long phys, unsigned long len, } } -extern int __syscall_stub_start; - /** * setup_physmem() - Setup physical memory for UML * @start: Start address of the physical kernel memory, |