diff options
author | Franck Bui-Huu <vagabon.xyz@gmail.com> | 2006-10-19 13:20:04 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-11-30 01:14:42 +0000 |
commit | a7837b76b6de932c31d0b7c71176ca8d1213a3ce (patch) | |
tree | 5dd0b330bbc2be9fd24bbce7f722809afdf4fbfd /arch/mips/mm | |
parent | f5bffe3a9bcd6e5319b5fd3a8109625f8638425a (diff) | |
download | op-kernel-dev-a7837b76b6de932c31d0b7c71176ca8d1213a3ce.zip op-kernel-dev-a7837b76b6de932c31d0b7c71176ca8d1213a3ce.tar.gz |
[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 3049912..4076963 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 |