From: Olof Johansson Date: Wed, 13 Nov 2013 06:51:28 +0000 (-0800) Subject: ARM: omap: fix warning with LPAE build X-Git-Tag: v3.13-rc2~26^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dd1e357372c21ec37b6902380bd47b278d168f1;p=pandora-kernel.git ARM: omap: fix warning with LPAE build Some omap3 code is throwing a warning: arch/arm/mach-omap2/pm34xx.c: In function 'omap3_save_secure_ram_context': arch/arm/mach-omap2/pm34xx.c:123:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] In reality this code will never actually execute with LPAE=y, since Cortex-A8 doesn't support it. So downcasting the __pa() is safe in this case. Signed-off-by: Olof Johansson Acked-by: Tony Lindgren --- Reading git-diff-tree failed