aboutsummaryrefslogtreecommitdiff
path: root/arch/alpha/kernel/core_irongate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/core_irongate.c')
-rw-r--r--arch/alpha/kernel/core_irongate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/alpha/kernel/core_irongate.c b/arch/alpha/kernel/core_irongate.c
index f70986683fc6..35572be9deb5 100644
--- a/arch/alpha/kernel/core_irongate.c
+++ b/arch/alpha/kernel/core_irongate.c
@@ -234,8 +234,7 @@ albacore_init_arch(void)
unsigned long size;
size = initrd_end - initrd_start;
- free_bootmem_node(NODE_DATA(0), __pa(initrd_start),
- PAGE_ALIGN(size));
+ memblock_free(__pa(initrd_start), PAGE_ALIGN(size));
if (!move_initrd(pci_mem))
printk("irongate_init_arch: initrd too big "
"(%ldK)\ndisabling initrd\n",