diff options
author | Franck Bui-Huu <vagabon.xyz@gmail.com> | 2006-10-19 07:20:04 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-11-29 20:14:42 -0500 |
commit | a7837b76b6de932c31d0b7c71176ca8d1213a3ce (patch) | |
tree | 5dd0b330bbc2be9fd24bbce7f722809afdf4fbfd /arch/mips/mm | |
parent | f5bffe3a9bcd6e5319b5fd3a8109625f8638425a (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.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 304991263f6b..4076963c601e 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) | |||
460 | #ifdef CONFIG_BLK_DEV_INITRD | 460 | #ifdef CONFIG_BLK_DEV_INITRD |
461 | void free_initrd_mem(unsigned long start, unsigned long end) | 461 | void free_initrd_mem(unsigned long start, unsigned long end) |
462 | { | 462 | { |
463 | #ifdef CONFIG_64BIT | ||
464 | /* Switch from KSEG0 to XKPHYS addresses */ | ||
465 | start = (unsigned long)phys_to_virt(CPHYSADDR(start)); | ||
466 | end = (unsigned long)phys_to_virt(CPHYSADDR(end)); | ||
467 | #endif | ||
468 | free_init_pages("initrd memory", start, end); | 463 | free_init_pages("initrd memory", start, end); |
469 | } | 464 | } |
470 | #endif | 465 | #endif |