diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-12 14:42:27 -0500 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2013-11-17 05:39:22 -0500 |
commit | 33a7d42999b1857d4494f6ad6367e3aef0ae8137 (patch) | |
tree | cb006ef827313e99b26c0b2a17b2195ecd059797 /arch/um | |
parent | a851aebc366ff32b23146ec354bfbe56f484b77c (diff) |
um: Remove unused declarations from <as-layout.h>
_end is used, but it's already provided by <asm/sections.h>, so use that.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/include/shared/as-layout.h | 3 | ||||
-rw-r--r-- | arch/um/kernel/um_arch.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/include/shared/as-layout.h b/arch/um/include/shared/as-layout.h index 694c792bab4e..41c8c774ec10 100644 --- a/arch/um/include/shared/as-layout.h +++ b/arch/um/include/shared/as-layout.h | |||
@@ -44,7 +44,6 @@ struct cpu_task { | |||
44 | 44 | ||
45 | extern struct cpu_task cpu_tasks[]; | 45 | extern struct cpu_task cpu_tasks[]; |
46 | 46 | ||
47 | extern unsigned long low_physmem; | ||
48 | extern unsigned long high_physmem; | 47 | extern unsigned long high_physmem; |
49 | extern unsigned long uml_physmem; | 48 | extern unsigned long uml_physmem; |
50 | extern unsigned long uml_reserved; | 49 | extern unsigned long uml_reserved; |
@@ -52,8 +51,6 @@ extern unsigned long end_vm; | |||
52 | extern unsigned long start_vm; | 51 | extern unsigned long start_vm; |
53 | extern unsigned long long highmem; | 52 | extern unsigned long long highmem; |
54 | 53 | ||
55 | extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; | ||
56 | extern unsigned long _unprotected_end; | ||
57 | extern unsigned long brk_start; | 54 | extern unsigned long brk_start; |
58 | 55 | ||
59 | extern unsigned long host_task_size; | 56 | extern unsigned long host_task_size; |
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index b9dd13e6f206..016adf0985d5 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <asm/pgtable.h> | 14 | #include <asm/pgtable.h> |
15 | #include <asm/processor.h> | 15 | #include <asm/processor.h> |
16 | #include <asm/sections.h> | ||
16 | #include <asm/setup.h> | 17 | #include <asm/setup.h> |
17 | #include <as-layout.h> | 18 | #include <as-layout.h> |
18 | #include <arch.h> | 19 | #include <arch.h> |