diff options
Diffstat (limited to 'arch/sh/mm/init.c')
-rw-r--r-- | arch/sh/mm/init.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index 5d19c8c7ab53..79c309780f95 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c | |||
@@ -24,9 +24,6 @@ | |||
24 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | 24 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); |
25 | pgd_t swapper_pg_dir[PTRS_PER_PGD]; | 25 | pgd_t swapper_pg_dir[PTRS_PER_PGD]; |
26 | 26 | ||
27 | void (*copy_page)(void *from, void *to); | ||
28 | void (*clear_page)(void *to); | ||
29 | |||
30 | void show_mem(void) | 27 | void show_mem(void) |
31 | { | 28 | { |
32 | int total = 0, reserved = 0, free = 0; | 29 | int total = 0, reserved = 0, free = 0; |
@@ -203,18 +200,6 @@ void __init mem_init(void) | |||
203 | memset(empty_zero_page, 0, PAGE_SIZE); | 200 | memset(empty_zero_page, 0, PAGE_SIZE); |
204 | __flush_wback_region(empty_zero_page, PAGE_SIZE); | 201 | __flush_wback_region(empty_zero_page, PAGE_SIZE); |
205 | 202 | ||
206 | /* | ||
207 | * Setup wrappers for copy/clear_page(), these will get overridden | ||
208 | * later in the boot process if a better method is available. | ||
209 | */ | ||
210 | #ifdef CONFIG_MMU | ||
211 | copy_page = copy_page_slow; | ||
212 | clear_page = clear_page_slow; | ||
213 | #else | ||
214 | copy_page = copy_page_nommu; | ||
215 | clear_page = clear_page_nommu; | ||
216 | #endif | ||
217 | |||
218 | after_bootmem = 1; | 203 | after_bootmem = 1; |
219 | 204 | ||
220 | codesize = (unsigned long) &_etext - (unsigned long) &_text; | 205 | codesize = (unsigned long) &_etext - (unsigned long) &_text; |