]> err.no Git - linux-2.6/commit
powerpc: Introduce toreal/fromreal assembly macros
authorPaul Mackerras <paulus@samba.org>
Thu, 27 Oct 2005 12:44:39 +0000 (22:44 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 27 Oct 2005 12:44:39 +0000 (22:44 +1000)
commit6316222ea050d469c3155881d9dee2c7671d9fef
tree2a075cbdab11e10efc868a31e378dffae90f06da
parent80579e1f4a6b5f5dec92faa6c3e0645961c99091
powerpc: Introduce toreal/fromreal assembly macros

On 32-bit platforms, these convert from kernel virtual addresses
to real (physical addresses), like tophys/tovirt but they use
the same register for the source and destination.  On 64-bit
platforms, they do nothing because the hardware ignores the top
two bits of the address in real mode.

These new macros are used in fpu.S now.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/fpu.S
include/asm-powerpc/ppc_asm.h