[PATCH] Replace use of GET_64BIT(prop, i) with of_read_number().

David Gibson david at gibson.dropbear.id.au
Tue Jun 5 11:26:05 EST 2007


On Mon, Jun 04, 2007 at 03:24:18PM -0500, Jon Loeliger wrote:
> Remove uses of hack GET_64BIT() property macro and use
> the more general of_read_number() function from prom.h
> as suggested by Milton.
> 
> Signed-off-by: Jon Loeliger <jdl at freescale.com>
> ---
> 
> Someone in 64-bit land please check this!
> I have no board on which to test this.  Sorry.

Gave it a brief whirl on a POWER5 LPAR.  Seems ok.

Acked-by: David Gibson <david at gibson.dropbear.id.au>

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list