From: Geert Uytterhoeven Date: Tue, 12 Nov 2013 19:42:27 +0000 (+0100) Subject: um: Remove unused declarations from X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=33a7d42999b1857d4494f6ad6367e3aef0ae8137;p=openwrt%2Fstaging%2Fblogic.git um: Remove unused declarations from _end is used, but it's already provided by , so use that. Signed-off-by: Geert Uytterhoeven Cc: Richard Weinberger Cc: user-mode-linux-devel@lists.sourceforge.net Signed-off-by: Richard Weinberger --- 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 { extern struct cpu_task cpu_tasks[]; -extern unsigned long low_physmem; extern unsigned long high_physmem; extern unsigned long uml_physmem; extern unsigned long uml_reserved; @@ -52,8 +51,6 @@ extern unsigned long end_vm; extern unsigned long start_vm; extern unsigned long long highmem; -extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; -extern unsigned long _unprotected_end; extern unsigned long brk_start; 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 @@ #include #include #include +#include #include #include #include