diff options
Diffstat (limited to 'arch/m32r/mm')
-rw-r--r-- | arch/m32r/mm/discontig.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m32r/mm/discontig.c b/arch/m32r/mm/discontig.c index abb34ccd5986..c7efdb0aefc5 100644 --- a/arch/m32r/mm/discontig.c +++ b/arch/m32r/mm/discontig.c | |||
@@ -105,9 +105,7 @@ unsigned long __init setup_memory(void) | |||
105 | if (INITRD_START + INITRD_SIZE <= PFN_PHYS(max_low_pfn)) { | 105 | if (INITRD_START + INITRD_SIZE <= PFN_PHYS(max_low_pfn)) { |
106 | reserve_bootmem_node(NODE_DATA(0), INITRD_START, | 106 | reserve_bootmem_node(NODE_DATA(0), INITRD_START, |
107 | INITRD_SIZE); | 107 | INITRD_SIZE); |
108 | initrd_start = INITRD_START ? | 108 | initrd_start = INITRD_START + PAGE_OFFSET; |
109 | INITRD_START + PAGE_OFFSET : 0; | ||
110 | |||
111 | initrd_end = initrd_start + INITRD_SIZE; | 109 | initrd_end = initrd_start + INITRD_SIZE; |
112 | printk("initrd:start[%08lx],size[%08lx]\n", | 110 | printk("initrd:start[%08lx],size[%08lx]\n", |
113 | initrd_start, INITRD_SIZE); | 111 | initrd_start, INITRD_SIZE); |