Commit 33a7d42999b1857d4494f6ad6367e3aef0ae8137

Authored by Geert Uytterhoeven
Committed by Richard Weinberger
1 parent a851aebc36

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>

Showing 2 changed files with 1 additions and 3 deletions Side-by-side Diff

arch/um/include/shared/as-layout.h
... ... @@ -44,7 +44,6 @@
44 44  
45 45 extern struct cpu_task cpu_tasks[];
46 46  
47   -extern unsigned long low_physmem;
48 47 extern unsigned long high_physmem;
49 48 extern unsigned long uml_physmem;
50 49 extern unsigned long uml_reserved;
... ... @@ -52,8 +51,6 @@
52 51 extern unsigned long start_vm;
53 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 54 extern unsigned long brk_start;
58 55  
59 56 extern unsigned long host_task_size;
arch/um/kernel/um_arch.c
... ... @@ -13,6 +13,7 @@
13 13 #include <linux/sched.h>
14 14 #include <asm/pgtable.h>
15 15 #include <asm/processor.h>
  16 +#include <asm/sections.h>
16 17 #include <asm/setup.h>
17 18 #include <as-layout.h>
18 19 #include <arch.h>