diff options
| author | Arun KS <arunks@codeaurora.org> | 2017-09-15 13:52:00 +0530 |
|---|---|---|
| committer | Arun KS <arunks@codeaurora.org> | 2017-11-22 17:12:55 +0530 |
| commit | ea4e70e7d64e9598b4ddf6acb28363acbb8e6add (patch) | |
| tree | cf0a8fa1fecdf038be36624240e30521486096f9 /include/linux/memory_hotplug.h | |
| parent | 2247011a9c93311ec6f73190e2080dffc55526bc (diff) | |
arm64: Honor limits set by bootloader
Introduce a varible to save bootloader enforced memory limits and
restricts adding beyond this boundary during a memory hotplug.
Change-Id: I28c100644b7287ec4625c4c018b5fffc865e2e72
Signed-off-by: Arun KS <arunks@codeaurora.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
| -rw-r--r-- | include/linux/memory_hotplug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index 538488bd1d3d..ba23995e51b4 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h @@ -89,7 +89,7 @@ extern int test_pages_in_a_zone(unsigned long start_pfn, unsigned long end_pfn, unsigned long *valid_start, unsigned long *valid_end); extern void __offline_isolated_pages(unsigned long, unsigned long); -typedef void (*online_page_callback_t)(struct page *page); +typedef int (*online_page_callback_t)(struct page *page); extern int set_online_page_callback(online_page_callback_t callback); extern int restore_online_page_callback(online_page_callback_t callback); |
