diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-04 04:13:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-04 14:59:26 -0500 |
commit | 731ddea63600c24ff01e6e5144cea88bf7266ac5 (patch) | |
tree | 6e34266cee50389261840f352719794a41dcb935 /arch/x86/mm/init_64.c | |
parent | f62432395ec54e93f113091bcb2e2017eeed7683 (diff) |
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_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 074435e79824..d325186dd32b 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -963,13 +963,6 @@ void mark_rodata_ro(void) | |||
963 | 963 | ||
964 | #endif | 964 | #endif |
965 | 965 | ||
966 | #ifdef CONFIG_BLK_DEV_INITRD | ||
967 | void free_initrd_mem(unsigned long start, unsigned long end) | ||
968 | { | ||
969 | free_init_pages("initrd memory", start, end); | ||
970 | } | ||
971 | #endif | ||
972 | |||
973 | int __init reserve_bootmem_generic(unsigned long phys, unsigned long len, | 966 | int __init reserve_bootmem_generic(unsigned long phys, unsigned long len, |
974 | int flags) | 967 | int flags) |
975 | { | 968 | { |