diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-05-07 15:10:07 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-07 15:10:07 +0900 |
commit | 36fa06d6b5ef1874d012c04b23d5b8982b1f8dea (patch) | |
tree | f56bd023231ff45e7a556dc4ab7f7758eddf9515 /arch/sh | |
parent | a5ec39507129a086d8838228ac1ca0a2eab38f91 (diff) | |
download | linux-36fa06d6b5ef1874d012c04b23d5b8982b1f8dea.tar.gz linux-36fa06d6b5ef1874d012c04b23d5b8982b1f8dea.tar.bz2 linux-36fa06d6b5ef1874d012c04b23d5b8982b1f8dea.zip |
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')
-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 d67a8a386907..08001729f5ee 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; |