]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] clean up a load of old declarations
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 6 Sep 2008 10:23:30 +0000 (11:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Sep 2008 10:23:30 +0000 (11:23 +0100)
... some of which are now in linux/*.h headers.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c
arch/arm/mm/init.c
arch/arm/mm/mm.h
arch/arm/mm/mmu.c
arch/arm/mm/nommu.c

index f972fc3e979bbbc7ccb681768f702e1a2ab8f585..61a2242b18b86a8bc6174bc06a1fdf2475957a53 100644 (file)
@@ -61,8 +61,7 @@ __setup("fpe=", fpe_setup);
 
 extern void paging_init(struct meminfo *, struct machine_desc *desc);
 extern void reboot_setup(char *str);
-extern int root_mountflags;
-extern void _stext, _text, _etext, __data_start, _edata, _end;
+extern void _text, _etext, __data_start, _edata, _end;
 
 unsigned int processor_id;
 EXPORT_SYMBOL(processor_id);
index c70fb1d18903388b10e3f216b604235343164142..80584bd7f03e304e621bf9071f9ba39fd094d56e 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "mm.h"
 
-extern void _text, _etext, __data_start, _end, __init_begin, __init_end;
-
 static unsigned long phys_initrd_start __initdata = 0;
 static unsigned long phys_initrd_size __initdata = 0;
 
index 7647c597fc597ce82b5c08c587ca4b1f1c7b9724..96590104ba0f3abb331706701de947e0ad0b421f 100644 (file)
@@ -35,3 +35,5 @@ struct pglist_data;
 void __init create_mapping(struct map_desc *md);
 void __init bootmem_init(struct meminfo *mi);
 void reserve_node_zero(struct pglist_data *pgdat);
+
+extern void _text, _stext, _etext, __data_start, _end, __init_begin, __init_end;
index c2bbe3f311f0b91cfe881b639f274fde9d50a471..94d81a2ba00891d66091183d1bcbe7c6eda9ce6e 100644 (file)
@@ -28,9 +28,6 @@
 
 DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
 
-extern void _stext, _etext, __data_start, _end;
-extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
-
 /*
  * empty_zero_page is a special page that is used for
  * zero-initialized data and COW.
index 63c62fdea52115e168751c5efa5eec96c7602341..4bc767d1cedf331cdf88f97307e2fd93d1dcb56f 100644 (file)
@@ -15,8 +15,6 @@
 
 #include "mm.h"
 
-extern void _stext, __data_start, _end;
-
 /*
  * Reserve the various regions of node 0
  */