diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/init_32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index e39504878aec..7d05565ba781 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -825,7 +825,8 @@ void __init mem_init(void) | |||
825 | int arch_add_memory(int nid, u64 start, u64 size) | 825 | int arch_add_memory(int nid, u64 start, u64 size) |
826 | { | 826 | { |
827 | struct pglist_data *pgdata = NODE_DATA(nid); | 827 | struct pglist_data *pgdata = NODE_DATA(nid); |
828 | struct zone *zone = pgdata->node_zones + ZONE_HIGHMEM; | 828 | struct zone *zone = pgdata->node_zones + |
829 | zone_for_memory(nid, start, size, ZONE_HIGHMEM); | ||
829 | unsigned long start_pfn = start >> PAGE_SHIFT; | 830 | unsigned long start_pfn = start >> PAGE_SHIFT; |
830 | unsigned long nr_pages = size >> PAGE_SHIFT; | 831 | unsigned long nr_pages = size >> PAGE_SHIFT; |
831 | 832 | ||