[PATCH] ppc64: Fix issue with gcc 4.0 compiled kernels

Alan Modra amodra at bigpond.net.au
Tue Aug 23 16:22:24 EST 2005


On Tue, Aug 23, 2005 at 04:11:05PM +1000, Paul Mackerras wrote:
> Anton Blanchard writes:
> > -		    "i" (__FUNCTION__));			\
> > +		: : "r" ((long long)(x)), "i" (__LINE__),	\
> 
> Could we have a (long) cast instead?  That way we can use the same
> definition on 32-bit as well.

Yes, that will work fine.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Linuxppc64-dev mailing list