[SPARC64]: Minor bug fix to obp_read_memory().
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 22 Jun 2006 07:00:00 +0000 (00:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 24 Jun 2006 06:15:19 +0000 (23:15 -0700)
commit486ad10a7e1b2bb61ea9e48c4d9510f50cd74fc5
treeeac1b6fe80626767f7bea620b9e06aedc6600b95
parent07f8e5f358a0b7240f1dad6b3819f2fd1103f159
[SPARC64]: Minor bug fix to obp_read_memory().

If we end up zero'ing out the size of one of the entries,
pop it out of the array completely because some code that
examines these things cannot handle a zero length element
properly.

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