diff options
Diffstat (limited to 'arch/m32r/kernel')
-rw-r--r-- | arch/m32r/kernel/setup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m32r/kernel/setup.c b/arch/m32r/kernel/setup.c index 0e7778be33cc..936205f7aba0 100644 --- a/arch/m32r/kernel/setup.c +++ b/arch/m32r/kernel/setup.c | |||
@@ -196,9 +196,7 @@ static unsigned long __init setup_memory(void) | |||
196 | if (LOADER_TYPE && INITRD_START) { | 196 | if (LOADER_TYPE && INITRD_START) { |
197 | if (INITRD_START + INITRD_SIZE <= (max_low_pfn << PAGE_SHIFT)) { | 197 | if (INITRD_START + INITRD_SIZE <= (max_low_pfn << PAGE_SHIFT)) { |
198 | reserve_bootmem(INITRD_START, INITRD_SIZE); | 198 | reserve_bootmem(INITRD_START, INITRD_SIZE); |
199 | initrd_start = INITRD_START ? | 199 | initrd_start = INITRD_START + PAGE_OFFSET; |
200 | INITRD_START + PAGE_OFFSET : 0; | ||
201 | |||
202 | initrd_end = initrd_start + INITRD_SIZE; | 200 | initrd_end = initrd_start + INITRD_SIZE; |
203 | printk("initrd:start[%08lx],size[%08lx]\n", | 201 | printk("initrd:start[%08lx],size[%08lx]\n", |
204 | initrd_start, INITRD_SIZE); | 202 | initrd_start, INITRD_SIZE); |