aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-10-19 13:20:04 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-11-30 01:14:42 +0000
commita7837b76b6de932c31d0b7c71176ca8d1213a3ce (patch)
tree5dd0b330bbc2be9fd24bbce7f722809afdf4fbfd /arch/mips/mm
parentf5bffe3a9bcd6e5319b5fd3a8109625f8638425a (diff)
[MIPS] setup.c: clean up initrd related code
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/init.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c
index 304991263f6..4076963c601 100644
--- a/arch/mips/mm/init.c
+++ b/arch/mips/mm/init.c
@@ -460,11 +460,6 @@ void free_init_pages(char *what, unsigned long begin, unsigned long end)
#ifdef CONFIG_BLK_DEV_INITRD
void free_initrd_mem(unsigned long start, unsigned long end)
{
-#ifdef CONFIG_64BIT
- /* Switch from KSEG0 to XKPHYS addresses */
- start = (unsigned long)phys_to_virt(CPHYSADDR(start));
- end = (unsigned long)phys_to_virt(CPHYSADDR(end));
-#endif
free_init_pages("initrd memory", start, end);
}
#endif