[PATCH 7/20] powerpc: Modify some ppc_asm.h macros to accomodate 64-bits Book3E

Kumar Gala galak at kernel.crashing.org
Fri Jul 24 00:39:37 EST 2009


On Jul 23, 2009, at 12:59 AM, Benjamin Herrenschmidt wrote:

> The way I intend to use tophys/tovirt on 64-bit BookE is different
> from the "trick" that we currently play for 32-bit BookE so change
> the condition of definition of these macros to make it so.
>
> Also, make sure we only use rfid and mtmsrd instead of rfi and mtmsr
> for 64-bit server processors, not all 64-bit processors.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---

Acked-by: Kumar Gala <galak at kernel.crashing.org>

- k


More information about the Linuxppc-dev mailing list