[PATCH] Have x86_64 use add_active_range() and free_area_init_nodes
Size zones and holes in an architecture independent manner for x86_64. Signed-off-by: Mel Gorman <mel@csn.ul.ie> Cc: Dave Hansen <haveblue@us.ibm.com> Cc: Andy Whitcroft <apw@shadowen.org> Cc: Andi Kleen <ak@muc.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: "Keith Mannthey" <kmannth@gmail.com> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Yasunori Goto <y-goto@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
4cfee88ad3
commit
5cb248abf5
@@ -47,10 +47,9 @@ extern void e820_print_map(char *who);
|
||||
extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type);
|
||||
extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type);
|
||||
|
||||
extern void e820_bootmem_free(pg_data_t *pgdat, unsigned long start,unsigned long end);
|
||||
extern void e820_setup_gap(void);
|
||||
extern unsigned long e820_hole_size(unsigned long start_pfn,
|
||||
unsigned long end_pfn);
|
||||
extern void e820_register_active_regions(int nid,
|
||||
unsigned long start_pfn, unsigned long end_pfn);
|
||||
|
||||
extern void finish_e820_parsing(void);
|
||||
|
||||
|
@@ -24,8 +24,6 @@ extern void mtrr_bp_init(void);
|
||||
#define mtrr_bp_init() do {} while (0)
|
||||
#endif
|
||||
extern void init_memory_mapping(unsigned long start, unsigned long end);
|
||||
extern void size_zones(unsigned long *z, unsigned long *h,
|
||||
unsigned long start_pfn, unsigned long end_pfn);
|
||||
|
||||
extern void system_call(void);
|
||||
extern int kernel_syscall(void);
|
||||
|
Reference in New Issue
Block a user