[PATCH] Use mtocrf in asm when CONFIG_POWER4_ONLY=y

Stephen Rothwell sfr at canb.auug.org.au
Thu Mar 22 13:10:41 EST 2007


On Wed, 21 Mar 2007 21:09:26 -0500 olof at lixom.net (Olof Johansson) wrote:
>
> +/* Move to CR, single-entry optimized version. Only available
> + * on POWER4 and later.
> + */
> +#ifdef CONFIG_POWER4_ONLY
> +#define PPC_MTOCRF      stringify_in_c(mtocrf)
                     ^^^^^^
Please use a TAB character here.

> +#else
> +#define PPC_MTOCRF      stringify_in_c(mtcrf)
                     ^^^^^^
and here.

> +#endif
> +
>  #else /* 32-bit */
>
>  /* operations for longs and pointers */
> @@ -89,6 +100,7 @@
>  #define PPC_LLARX	stringify_in_c(lwarx)
>  #define PPC_STLCX	stringify_in_c(stwcx.)
>  #define PPC_CNTLZL	stringify_in_c(cntlzw)
> +#define PPC_MTOCRF      stringify_in_c(mtcrf)
                     ^^^^^^
and here :-)

--
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070322/5795961d/attachment.pgp>


More information about the Linuxppc-dev mailing list