alistair23-linux/arch/powerpc
David Gibson e58c3495e6 [PATCH] powerpc: Cleanup LOADADDR etc. asm macros
This patch consolidates the variety of macros used for loading 32 or
64-bit constants in assembler (LOADADDR, LOADBASE, SET_REG_TO_*).  The
idea is to make the set of macros consistent across 32 and 64 bit and
to make it more obvious which is the appropriate one to use in a given
situation.  The new macros and their semantics are described in the
comments in ppc_asm.h.

In the process, we change several places that were unnecessarily using
immediate loads on ppc64 to use the GOT/TOC.  Likewise we cleanup a
couple of places where we were clumsily subtracting PAGE_OFFSET with
asm instructions to use assemble-time arithmetic or the toreal() macro
instead.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-13 21:16:23 +11:00
..
boot [PATCH] powerpc: Fix clean_files in arch/powerpc/boot Makefile 2006-01-11 16:28:13 +11:00
configs [PATCH] enable the RTC driver in ppc64_defconfig 2006-01-11 14:47:13 +11:00
kernel [PATCH] powerpc: Cleanup LOADADDR etc. asm macros 2006-01-13 21:16:23 +11:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] powerpc: IOMMU: don't ioremap null addresses 2006-01-10 15:30:31 +11:00
oprofile [PATCH] ppc64: Fix oprofile when compiled as a module 2006-01-09 16:02:52 +11:00
platforms [PATCH] powerpc: Add support for changing properties from userspace 2006-01-13 21:12:41 +11:00
sysdev [PATCH] powerpc: minor dart driver cleanup 2006-01-12 20:39:13 +11:00
xmon [PATCH] powerpc: xmon namespace cleanups 2006-01-12 20:39:14 +11:00
Kconfig [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile [PATCH] powerpc/boot: Better use of defaultimage- 2006-01-13 21:14:28 +11:00