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)
commit9f2b2a5f68c27c00f1e1f1922de5aa2f24505ed8
tree2afd44efe02154ab1bfcbd47e1d8ba55167da4e5
parentccc34028d46230f715eeda4c8cce27e919934fad
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>
arch/sparc/kernel/setup.c
arch/sparc/mm/fault.c
arch/sparc/prom/memory.c
include/asm-sparc/oplib.h
include/asm-sparc/page.h