diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-05-11 13:32:19 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-11 13:32:19 +0900 |
commit | 4bc277ac9cae60e11fe2e557e4ea4acb56d3dc9a (patch) | |
tree | c9ed42c605674b2e41d8c962ad25c021fd518dbc /arch/sh/include | |
parent | 5e2ff328c0668794ff408a4632f5b8a62827571f (diff) | |
download | op-kernel-dev-4bc277ac9cae60e11fe2e557e4ea4acb56d3dc9a.zip op-kernel-dev-4bc277ac9cae60e11fe2e557e4ea4acb56d3dc9a.tar.gz |
sh: bootmem refactoring.
This reworks much of the bootmem setup and initialization code allowing
us to get rid of duplicate work between the NUMA and non-NUMA cases. The
end result is that we end up with a much more flexible interface for
supporting more complex topologies (fake NUMA, highmem, etc, etc.) which
is entirely LMB backed. This is an incremental step for more NUMA work as
well as gradually enabling migration off of bootmem entirely.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/mmzone.h | 2 | ||||
-rw-r--r-- | arch/sh/include/asm/setup.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/include/asm/mmzone.h b/arch/sh/include/asm/mmzone.h index 94f04b2..8887baf 100644 --- a/arch/sh/include/asm/mmzone.h +++ b/arch/sh/include/asm/mmzone.h @@ -44,6 +44,8 @@ void __init plat_mem_setup(void); /* arch/sh/kernel/setup.c */ void __init __add_active_range(unsigned int nid, unsigned long start_pfn, unsigned long end_pfn); +/* arch/sh/mm/init.c */ +void __init allocate_pgdat(unsigned int nid); #endif /* __KERNEL__ */ #endif /* __ASM_SH_MMZONE_H */ diff --git a/arch/sh/include/asm/setup.h b/arch/sh/include/asm/setup.h index 4758325..01fa17a 100644 --- a/arch/sh/include/asm/setup.h +++ b/arch/sh/include/asm/setup.h @@ -19,6 +19,7 @@ #define COMMAND_LINE ((char *) (PARAM+0x100)) void sh_mv_setup(void); +void check_for_initrd(void); #endif /* __KERNEL__ */ |