Skip to content

Commit

Permalink
sh: convert initrd reservation to LMB.
Browse files Browse the repository at this point in the history
This switches over from bootmem -> LMB for the initrd area reservation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 7, 2010
1 parent a5ec395 commit 36fa06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static void __init check_for_initrd(void)
initrd_start = (unsigned long)__va(__pa(start));
initrd_end = initrd_start + INITRD_SIZE;

reserve_bootmem(__pa(initrd_start), INITRD_SIZE, BOOTMEM_DEFAULT);
lmb_reserve(__pa(initrd_start), INITRD_SIZE);

return;

Expand Down

0 comments on commit 36fa06d

Please sign in to comment.