sparc64: Refactor OBP cpu scanning code using an iterator.
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 04:46:14 +0000 (21:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jun 2009 11:56:16 +0000 (04:56 -0700)
commit9bab54143ca16592536c9d35f43cfac0a2a28ea8
tree35f1f8a148bb4f9a11036b19ea77e87191773263
parent8249778908783f329a8852285b083ce86437e089
sparc64: Refactor OBP cpu scanning code using an iterator.

With feedback from Sam Ravnborg.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/prom.h
arch/sparc/kernel/prom_64.c