From: Marc Zyngier Date: Wed, 11 Apr 2012 13:52:55 +0000 (+0100) Subject: ARM: 7379/1: DT: fix atags_to_fdt() second call site X-Git-Tag: v3.4-rc3~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c5fd9e85f574d9d0361b2b878f55732290afe5b;p=pandora-kernel.git ARM: 7379/1: DT: fix atags_to_fdt() second call site atags_to_fdt() returns 1 when it fails to find a valid FDT signature. The CONFIG_ARM_ATAG_DTB_COMPAT code is supposed to retry with another location, but only does so when the initial call doesn't fail. Fix this by using the correct condition in the assembly code. Acked-by: Nicolas Pitre Signed-off-by: Marc Zyngier Cc: stable@vger.kernel.org Signed-off-by: Russell King --- Reading git-diff-tree failed