Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142 Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
This commit is contained in:
@@ -10,6 +10,9 @@ struct zone;
|
||||
struct pglist_data;
|
||||
struct mem_section;
|
||||
|
||||
extern unsigned long movable_reserved_start, movable_reserved_size;
|
||||
extern unsigned long low_power_memory_start, low_power_memory_size;
|
||||
|
||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||
|
||||
/*
|
||||
@@ -232,4 +235,14 @@ extern void sparse_remove_one_section(struct zone *zone, struct mem_section *ms)
|
||||
extern struct page *sparse_decode_mem_map(unsigned long coded_mem_map,
|
||||
unsigned long pnum);
|
||||
|
||||
extern void reserve_hotplug_pages(unsigned long start_pfn,
|
||||
unsigned long nr_pages);
|
||||
extern void unreserve_hotplug_pages(unsigned long start_pfn,
|
||||
unsigned long nr_pages);
|
||||
#endif /* __LINUX_MEMORY_HOTPLUG_H */
|
||||
extern int physical_remove_memory(u64 start, u64 size);
|
||||
extern int arch_physical_remove_memory(u64 start, u64 size);
|
||||
extern int physical_low_power_memory(u64 start, u64 size);
|
||||
extern int arch_physical_low_power_memory(u64 start, u64 size);
|
||||
extern int physical_active_memory(u64 start, u64 size);
|
||||
extern int arch_physical_active_memory(u64 start, u64 size);
|
||||
|
||||
Reference in New Issue
Block a user