diff options
| author | Dave Hansen <haveblue@us.ibm.com> | 2005-03-07 17:38:30 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-07 17:38:30 -0800 |
| commit | b525cd4479e68f1d642b58c1e8c5ea22f4889b11 (patch) | |
| tree | 4e164913c7c79412478d066831d59f62a95d6da4 /include/linux | |
| parent | 70b833b54c4f72e2377cfd1fd7434ffdd413f869 (diff) | |
[PATCH] x86: remove-free_all_bootmem() #define
in arch/i386/mm/init.c, there's a #define for __free_all_bootmem():
#ifndef CONFIG_DISCONTIGMEM
#define __free_all_bootmem() free_all_bootmem()
#else
#define __free_all_bootmem() free_all_bootmem_node(NODE_DATA(0))
#endif /* !CONFIG_DISCONTIGMEM */
However, both of those functions end up eventually calling the same
thing:
free_all_bootmem_core(NODE_DATA(0))
This might have once been a placeholder for a more complex bootmem
init call, but that never happened. So, kill off the DISCONTIG
version, and just call free_all_bootmem() directly in both cases.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
