[SPARC64]: Simplify read_obp_memory().
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 15 Mar 2007 07:06:34 +0000 (00:06 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 08:55:23 +0000 (01:55 -0700)
commit0015d3d68c84eb33e6b380802ad61b23f7eb6523
treed3e7b31dc8a3a34c3625abb0e52de733829e995b
parentd78d0891d3dd976a2fb707c6c691d9cd5ed60727
[SPARC64]: Simplify read_obp_memory().

Kick out empty entries as soon as we spot them, and use memmove()
instead of a silly loop to make the operation more clear.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/init.c