X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8c72b797b421258e17ad6f7afcbc2ab9105e8dc8..83cf826ce2d25cf77fdd8fc905611d0ea5de45ef:/target/linux/ar7-2.6/files/arch/mips/ar7/memory.c diff --git a/target/linux/ar7-2.6/files/arch/mips/ar7/memory.c b/target/linux/ar7-2.6/files/arch/mips/ar7/memory.c index ea5b5bee7..17cb740b3 100644 --- a/target/linux/ar7-2.6/files/arch/mips/ar7/memory.c +++ b/target/linux/ar7-2.6/files/arch/mips/ar7/memory.c @@ -25,7 +25,6 @@ */ #include #include -#include #include #include #include @@ -68,8 +67,6 @@ static int __init memsize(void) return result; } -extern unsigned long __initramfs_start, __initramfs_end; - #ifdef CONFIG_NEED_MULTIPLE_NODES static bootmem_data_t node_bootmem_data; pg_data_t __node_data[1] = { @@ -176,11 +173,6 @@ void __init prom_meminit(void) unsigned long bootmap_size; #endif -#ifdef CONFIG_BLK_DEV_INITRD - initrd_start = (unsigned long)&__initramfs_start; - initrd_end = (unsigned long)&__initramfs_end; -#endif - pages = memsize() >> PAGE_SHIFT; add_memory_region(ARCH_PFN_OFFSET << PAGE_SHIFT, pages << PAGE_SHIFT, BOOT_MEM_RAM);