Skip to content

Commit

Permalink
[ARM] clean up a load of old declarations
Browse files Browse the repository at this point in the history
... some of which are now in linux/*.h headers.

Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Russell King authored and Russell King committed Sep 6, 2008
1 parent 012d1f4 commit 5ed5fdf
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mm/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
3 changes: 0 additions & 3 deletions arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

#include "mm.h"

extern void _stext, __data_start, _end;

/*
* Reserve the various regions of node 0
*/
Expand Down

0 comments on commit 5ed5fdf

Please sign in to comment.