commit | 9f2b2a5f68c27c00f1e1f1922de5aa2f24505ed8 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Thu May 01 22:28:17 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 02 05:22:53 2008 -0700 |
tree | 2afd44efe02154ab1bfcbd47e1d8ba55167da4e5 | |
parent | ccc34028d46230f715eeda4c8cce27e919934fad [diff] |
sparc32: More memory probing consolidation. The PROM library function prom_meminit() builds a table, prom_phys_avail[], just so that probe_memory() in arch/sparc/mm/fault.c can copy it into sp_banks[]. Just have prom_meminit() fill in the sp_banks[] array directly, and remove duplicated sort() function. Signed-off-by: David S. Miller <davem@davemloft.net>