]> git.hungrycats.org Git - linux/commitdiff
[ARM PATCH] 1510/1: use a #define for asm jump address
authorEli Carter <eli.carter@com.rmk.(none)>
Mon, 21 Apr 2003 18:36:54 +0000 (19:36 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 21 Apr 2003 18:36:54 +0000 (19:36 +0100)
Patch from Eli Carter

# Mon Apr 21 11:11:41 CDT 2003 ejc@rnd-linux-c84
# use-physoffset-define
#
# Use the PHYS_OFFSET #define instead of a hard-coded value.
#
# Diffed against linux-2.5.67-rmk1+1501-3+1506
#
#  arch/arm/boot/compressed/head-xscale.S |    2 +-
#  1 files changed, 1 insertion(+), 1 deletion(-)
#

arch/arm/boot/compressed/head-xscale.S

index 29ada3eb46fd8400b73b90ba578a2966b542fdc0..e6656d4ef5c86386184f5aa22d62d7fff5af9857 100644 (file)
@@ -35,7 +35,7 @@ __XScale_start:
                mcr     p15, 0, r0, c1, c0, 0
 
 #ifdef CONFIG_ARCH_IQ80321
-               orr     pc, pc, #0xa0000000
+               orr     pc, pc, #PHYS_OFFSET    @ jump to physical memory if we are not there.
                nop
                mov     r7, #MACH_TYPE_IQ80321
 #endif