From: Stephen Boyd Date: Tue, 4 Sep 2012 19:04:35 +0000 (+0100) Subject: ARM: 7512/1: Fix XIP build due to PHYS_OFFSET definition moving X-Git-Tag: v3.6-rc6~28^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ad51559c2f12c34a0340b26ffb02e4b285bc51;p=pandora-kernel.git ARM: 7512/1: Fix XIP build due to PHYS_OFFSET definition moving During the p2v changes, the PHYS_OFFSET #define moved into a !__ASSEMBLY__ section. This causes a XIP build to fail with arch/arm/kernel/head.o: In function 'stext': arch/arm/kernel/head.S:146: undefined reference to 'PHYS_OFFSET' Momentarily leave the #ifndef __ASSEMBLY__ section so we can define PHYS_OFFSET for all compilation units. Signed-off-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed