numa.c (94a2597c01a4bd495789e1546374c26b19f6eafd) | numa.c (aa709f3bc92c6daaf177cd7e3446da2ef64426c6) |
---|---|
1/* 2 * pSeries NUMA support 3 * 4 * Copyright (C) 2002 Anton Blanchard <anton@au.ibm.com>, IBM 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 625 unchanged lines hidden (view full) --- 634 * node. This assumes n_mem_{addr,size}_cells have been set. 635 */ 636static void __init parse_drconf_memory(struct device_node *memory) 637{ 638 const u32 *uninitialized_var(dm), *usm; 639 unsigned int n, rc, ranges, is_kexec_kdump = 0; 640 unsigned long lmb_size, base, size, sz; 641 int nid; | 1/* 2 * pSeries NUMA support 3 * 4 * Copyright (C) 2002 Anton Blanchard <anton@au.ibm.com>, IBM 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 625 unchanged lines hidden (view full) --- 634 * node. This assumes n_mem_{addr,size}_cells have been set. 635 */ 636static void __init parse_drconf_memory(struct device_node *memory) 637{ 638 const u32 *uninitialized_var(dm), *usm; 639 unsigned int n, rc, ranges, is_kexec_kdump = 0; 640 unsigned long lmb_size, base, size, sz; 641 int nid; |
642 struct assoc_arrays aa; | 642 struct assoc_arrays aa = { .arrays = NULL }; |
643 644 n = of_get_drconf_memory(memory, &dm); 645 if (!n) 646 return; 647 648 lmb_size = of_get_lmb_size(memory); 649 if (!lmb_size) 650 return; --- 880 unchanged lines hidden --- | 643 644 n = of_get_drconf_memory(memory, &dm); 645 if (!n) 646 return; 647 648 lmb_size = of_get_lmb_size(memory); 649 if (!lmb_size) 650 return; --- 880 unchanged lines hidden --- |