* [PATCH] ARM: Fix compile breakage when CONFIG_XIP_KERNEL is set
@ 2012-07-15 6:00 Alexander Shiyan
0 siblings, 0 replies; only message in thread
From: Alexander Shiyan @ 2012-07-15 6:00 UTC (permalink / raw)
To: linux-arm-kernel
arch/arm/kernel/head.o: In function `stext':
(.head.text+0x34): undefined reference to `PHYS_OFFSET'
This patch fix this problem by replacing PHYS_OFFSET to PLAT_PHYS_OFFSET.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/kernel/head.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 835898e..8fb7502 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -113,7 +113,7 @@ ENTRY(stext)
sub r4, r3, r4 @ (PHYS_OFFSET - PAGE_OFFSET)
add r8, r8, r4 @ PHYS_OFFSET
#else
- ldr r8, =PHYS_OFFSET @ always constant in this case
+ ldr r8, =PLAT_PHYS_OFFSET @ always constant in this case
#endif
/*
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-15 6:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-15 6:00 [PATCH] ARM: Fix compile breakage when CONFIG_XIP_KERNEL is set Alexander Shiyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).