diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-06 06:23:30 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-06 06:23:30 -0400 |
commit | 5ed5fdf50cbe8195522e2176d6356b357c0c963f (patch) | |
tree | eac14e5f58eb51f275ef51b93219f36b18501141 | |
parent | 012d1f4af1b07e5ccfcd23b7c1dcdcc30a068257 (diff) |
[ARM] clean up a load of old declarations
... some of which are now in linux/*.h headers.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/kernel/setup.c | 3 | ||||
-rw-r--r-- | arch/arm/mm/init.c | 2 | ||||
-rw-r--r-- | arch/arm/mm/mm.h | 2 | ||||
-rw-r--r-- | arch/arm/mm/mmu.c | 3 | ||||
-rw-r--r-- | arch/arm/mm/nommu.c | 2 |
5 files changed, 3 insertions, 9 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index f972fc3e979b..61a2242b18b8 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -61,8 +61,7 @@ __setup("fpe=", fpe_setup); | |||
61 | 61 | ||
62 | extern void paging_init(struct meminfo *, struct machine_desc *desc); | 62 | extern void paging_init(struct meminfo *, struct machine_desc *desc); |
63 | extern void reboot_setup(char *str); | 63 | extern void reboot_setup(char *str); |
64 | extern int root_mountflags; | 64 | extern void _text, _etext, __data_start, _edata, _end; |
65 | extern void _stext, _text, _etext, __data_start, _edata, _end; | ||
66 | 65 | ||
67 | unsigned int processor_id; | 66 | unsigned int processor_id; |
68 | EXPORT_SYMBOL(processor_id); | 67 | EXPORT_SYMBOL(processor_id); |
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index c70fb1d18903..80584bd7f03e 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
@@ -26,8 +26,6 @@ | |||
26 | 26 | ||
27 | #include "mm.h" | 27 | #include "mm.h" |
28 | 28 | ||
29 | extern void _text, _etext, __data_start, _end, __init_begin, __init_end; | ||
30 | |||
31 | static unsigned long phys_initrd_start __initdata = 0; | 29 | static unsigned long phys_initrd_start __initdata = 0; |
32 | static unsigned long phys_initrd_size __initdata = 0; | 30 | static unsigned long phys_initrd_size __initdata = 0; |
33 | 31 | ||
diff --git a/arch/arm/mm/mm.h b/arch/arm/mm/mm.h index 7647c597fc59..96590104ba0f 100644 --- a/arch/arm/mm/mm.h +++ b/arch/arm/mm/mm.h | |||
@@ -35,3 +35,5 @@ struct pglist_data; | |||
35 | void __init create_mapping(struct map_desc *md); | 35 | void __init create_mapping(struct map_desc *md); |
36 | void __init bootmem_init(struct meminfo *mi); | 36 | void __init bootmem_init(struct meminfo *mi); |
37 | void reserve_node_zero(struct pglist_data *pgdat); | 37 | void reserve_node_zero(struct pglist_data *pgdat); |
38 | |||
39 | extern void _text, _stext, _etext, __data_start, _end, __init_begin, __init_end; | ||
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index c2bbe3f311f0..94d81a2ba008 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -28,9 +28,6 @@ | |||
28 | 28 | ||
29 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | 29 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); |
30 | 30 | ||
31 | extern void _stext, _etext, __data_start, _end; | ||
32 | extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; | ||
33 | |||
34 | /* | 31 | /* |
35 | * empty_zero_page is a special page that is used for | 32 | * empty_zero_page is a special page that is used for |
36 | * zero-initialized data and COW. | 33 | * zero-initialized data and COW. |
diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 63c62fdea521..4bc767d1cedf 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c | |||
@@ -15,8 +15,6 @@ | |||
15 | 15 | ||
16 | #include "mm.h" | 16 | #include "mm.h" |
17 | 17 | ||
18 | extern void _stext, __data_start, _end; | ||
19 | |||
20 | /* | 18 | /* |
21 | * Reserve the various regions of node 0 | 19 | * Reserve the various regions of node 0 |
22 | */ | 20 | */ |