From: Mark Salter Date: Fri, 8 Jan 2010 22:43:16 +0000 (-0800) Subject: mn10300: add cc clobbers to asm statements X-Git-Tag: v2.6.33-rc4~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6bb7a1ad326f56f0793353c59348554f84b513c;p=pandora-kernel.git mn10300: add cc clobbers to asm statements gcc 4.2.1 for MN10300 is more agressive than the older gcc in reordering/moving other insns between an insn that sets flags and an insn that uses those flags. This leads to trouble with asm statements which are missing an explicit "cc" clobber. This patch adds the explicit "cc" clobber to asm statements which do indeed clobber the condition flags. Signed-off-by: Mark Salter Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed