diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-05-07 06:10:07 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-07 06:10:07 (GMT) |
commit | 36fa06d6b5ef1874d012c04b23d5b8982b1f8dea (patch) | |
tree | f56bd023231ff45e7a556dc4ab7f7758eddf9515 /arch/sh/kernel | |
parent | a5ec39507129a086d8838228ac1ca0a2eab38f91 (diff) | |
download | linux-fsl-qoriq-36fa06d6b5ef1874d012c04b23d5b8982b1f8dea.tar.xz |
sh: convert initrd reservation to LMB.
This switches over from bootmem -> LMB for the initrd area reservation.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index d67a8a3..0800172 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c @@ -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; |