Skip to content

Commit 5ed5fdf

Browse files
Russell KingRussell King
authored andcommitted
[ARM] clean up a load of old declarations
... some of which are now in linux/*.h headers. Signed-off-by: Russell King <[email protected]>
1 parent 012d1f4 commit 5ed5fdf

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

arch/arm/kernel/setup.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ __setup("fpe=", fpe_setup);
6161

6262
extern void paging_init(struct meminfo *, struct machine_desc *desc);
6363
extern void reboot_setup(char *str);
64-
extern int root_mountflags;
65-
extern void _stext, _text, _etext, __data_start, _edata, _end;
64+
extern void _text, _etext, __data_start, _edata, _end;
6665

6766
unsigned int processor_id;
6867
EXPORT_SYMBOL(processor_id);

arch/arm/mm/init.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
#include "mm.h"
2828

29-
extern void _text, _etext, __data_start, _end, __init_begin, __init_end;
30-
3129
static unsigned long phys_initrd_start __initdata = 0;
3230
static unsigned long phys_initrd_size __initdata = 0;
3331

arch/arm/mm/mm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ struct pglist_data;
3535
void __init create_mapping(struct map_desc *md);
3636
void __init bootmem_init(struct meminfo *mi);
3737
void reserve_node_zero(struct pglist_data *pgdat);
38+
39+
extern void _text, _stext, _etext, __data_start, _end, __init_begin, __init_end;

arch/arm/mm/mmu.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828

2929
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
3030

31-
extern void _stext, _etext, __data_start, _end;
32-
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
33-
3431
/*
3532
* empty_zero_page is a special page that is used for
3633
* zero-initialized data and COW.

arch/arm/mm/nommu.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
#include "mm.h"
1717

18-
extern void _stext, __data_start, _end;
19-
2018
/*
2119
* Reserve the various regions of node 0
2220
*/

0 commit comments

Comments
 (0)