liuyingdong / rpms / kernel

Forked from rpms/kernel 4 years ago
Clone
e293be
--- a/arch/x86/mm/init_32.c	2017-07-06 16:37:46.000000000 -0700
e293be
+++ b/arch/x86/mm/init_32.c	2017-08-06 06:29:29.459776079 -0700
e293be
@@ -845,7 +845,7 @@
e293be
 }
e293be
 
e293be
 #ifdef CONFIG_MEMORY_HOTPLUG
e293be
-int arch_add_memory(int nid, u64 start, u64 size)
e293be
+int arch_add_memory(int nid, u64 start, u64 size, bool for_device)
e293be
 {
e293be
 	struct pglist_data *pgdata = NODE_DATA(nid);
e293be
 	struct zone *zone = pgdata->node_zones + ZONE_HIGHMEM;