summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-11-28 03:16:28 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-11-28 03:16:28 -0800
commit9f8441d7648ff39bde5f22f212cf953cf874672e (patch)
treee603d23e90c8d18b7f09b5ec2f49bc769458fb75 /include/linux
parentf830b1a444c15d22237cd0b270ba0f267a134400 (diff)
parentea4e70e7d64e9598b4ddf6acb28363acbb8e6add (diff)
Merge "arm64: Honor limits set by bootloader"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/memory_hotplug.h2
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);