Skip to content
Commit 9f2b2a5f authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent ccc34028
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment