提交 5ed5fdf5 编写于 作者: R Russell King 提交者: Russell King

[ARM] clean up a load of old declarations

... some of which are now in linux/*.h headers.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 012d1f4a
...@@ -61,8 +61,7 @@ __setup("fpe=", fpe_setup); ...@@ -61,8 +61,7 @@ __setup("fpe=", fpe_setup);
extern void paging_init(struct meminfo *, struct machine_desc *desc); extern void paging_init(struct meminfo *, struct machine_desc *desc);
extern void reboot_setup(char *str); extern void reboot_setup(char *str);
extern int root_mountflags; extern void _text, _etext, __data_start, _edata, _end;
extern void _stext, _text, _etext, __data_start, _edata, _end;
unsigned int processor_id; unsigned int processor_id;
EXPORT_SYMBOL(processor_id); EXPORT_SYMBOL(processor_id);
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include "mm.h" #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_start __initdata = 0;
static unsigned long phys_initrd_size __initdata = 0; static unsigned long phys_initrd_size __initdata = 0;
......
...@@ -35,3 +35,5 @@ struct pglist_data; ...@@ -35,3 +35,5 @@ struct pglist_data;
void __init create_mapping(struct map_desc *md); void __init create_mapping(struct map_desc *md);
void __init bootmem_init(struct meminfo *mi); void __init bootmem_init(struct meminfo *mi);
void reserve_node_zero(struct pglist_data *pgdat); void reserve_node_zero(struct pglist_data *pgdat);
extern void _text, _stext, _etext, __data_start, _end, __init_begin, __init_end;
...@@ -28,9 +28,6 @@ ...@@ -28,9 +28,6 @@
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); 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 * empty_zero_page is a special page that is used for
* zero-initialized data and COW. * zero-initialized data and COW.
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
#include "mm.h" #include "mm.h"
extern void _stext, __data_start, _end;
/* /*
* Reserve the various regions of node 0 * Reserve the various regions of node 0
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册