sparc32: More memory probing consolidation.
authorDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 05:28:17 +0000 (22:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 12:22:53 +0000 (05:22 -0700)
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>

No differences found