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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#define COMMAND_LINE ((char *) (PARAM+0x100))
|
||||
|
||||
void sh_mv_setup(void);
|
||||
void check_for_initrd(void);
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user