diff options
Diffstat (limited to 'arch/ppc/mm/init.c')
-rw-r--r-- | arch/ppc/mm/init.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c index f421a4b337f6..5e9ef23b4671 100644 --- a/arch/ppc/mm/init.c +++ b/arch/ppc/mm/init.c | |||
@@ -74,10 +74,6 @@ unsigned long agp_special_page; | |||
74 | extern char _end[]; | 74 | extern char _end[]; |
75 | extern char etext[], _stext[]; | 75 | extern char etext[], _stext[]; |
76 | extern char __init_begin, __init_end; | 76 | extern char __init_begin, __init_end; |
77 | extern char __prep_begin, __prep_end; | ||
78 | extern char __chrp_begin, __chrp_end; | ||
79 | extern char __pmac_begin, __pmac_end; | ||
80 | extern char __openfirmware_begin, __openfirmware_end; | ||
81 | 77 | ||
82 | #ifdef CONFIG_HIGHMEM | 78 | #ifdef CONFIG_HIGHMEM |
83 | pte_t *kmap_pte; | 79 | pte_t *kmap_pte; |
@@ -167,14 +163,6 @@ void free_initmem(void) | |||
167 | 163 | ||
168 | printk ("Freeing unused kernel memory:"); | 164 | printk ("Freeing unused kernel memory:"); |
169 | FREESEC(init); | 165 | FREESEC(init); |
170 | if (_machine != _MACH_Pmac) | ||
171 | FREESEC(pmac); | ||
172 | if (_machine != _MACH_chrp) | ||
173 | FREESEC(chrp); | ||
174 | if (_machine != _MACH_prep) | ||
175 | FREESEC(prep); | ||
176 | if (!have_of) | ||
177 | FREESEC(openfirmware); | ||
178 | printk("\n"); | 166 | printk("\n"); |
179 | ppc_md.progress = NULL; | 167 | ppc_md.progress = NULL; |
180 | #undef FREESEC | 168 | #undef FREESEC |