From: Dave Martin Date: Wed, 1 Dec 2010 17:05:13 +0000 (+0100) Subject: ARM: 6517/1: kexec: Add missing memory clobber to inline asm in crash_setup_regs() X-Git-Tag: v2.6.38-rc1~471^2~5^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0946b8c5c5982088a26da7ad99e8bcf57f972fb5;p=pandora-kernel.git ARM: 6517/1: kexec: Add missing memory clobber to inline asm in crash_setup_regs() Currently, the inline asm is passed &newregs->ARM_r0 as in input, when modifying multiple fields of newregs. It's plausible to assume that GCC will assume newregs->ARM_r0 is modified when passed the address, but unfortunately this assumption is incorrect. Also, GCC has no way to guess that the other ARM_r* fields are modified without the addition of a "memory" clobber. Signed-off-by: Dave Martin Acked-by: Catalin Marinas Acked-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed