diff options
Diffstat (limited to 'arch/mips/mm/init.c')
-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 |