summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-03-04 11:13:40 +0200
committerIngo Molnar <mingo@elte.hu>2009-03-04 20:59:26 +0100
commit731ddea63600c24ff01e6e5144cea88bf7266ac5 (patch)
tree6e34266cee50389261840f352719794a41dcb935 /arch/x86/mm/init_32.c
parentf62432395ec54e93f113091bcb2e2017eeed7683 (diff)
downloadblackbird-op-linux-731ddea63600c24ff01e6e5144cea88bf7266ac5.tar.gz
blackbird-op-linux-731ddea63600c24ff01e6e5144cea88bf7266ac5.zip
x86: move free_initrd_mem() to common mm/init.c
Impact: cleanup The function is identical on 32-bit and 64-bit configurations so move it to the common mm/init.c file. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> LKML-Reference: <1236158020.29024.28.camel@penberg-laptop> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r--arch/x86/mm/init_32.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 37aeaf366d5f..c69c6b1f5e55 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -1275,13 +1275,6 @@ void mark_rodata_ro(void)
}
#endif
-#ifdef CONFIG_BLK_DEV_INITRD
-void free_initrd_mem(unsigned long start, unsigned long end)
-{
- free_init_pages("initrd memory", start, end);
-}
-#endif
-
int __init reserve_bootmem_generic(unsigned long phys, unsigned long len,
int flags)
{
OpenPOWER on IntegriCloud