From: Dave Martin Date: Fri, 18 Mar 2011 23:48:07 +0000 (-0700) Subject: ARM: 6655/1: Correct WFE() in asm/spinlock.h for Thumb-2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b924627641cad4cd7f8bef5718bcf72d19b0d98d;p=pandora-kernel.git ARM: 6655/1: Correct WFE() in asm/spinlock.h for Thumb-2 The content for ALT_SMP() in the definition of WFE() expands to 6 bytes (IT cc ; WFEcc.W), which breaks the assumptions of the fixup code, leading to lockups when the affected code gets run. This patch works around the problem by explicitly using an IT + WFEcc.N pair. Signed-off-by: Dave Martin Acked-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed