Dave Martin 0946b8c5c5 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 <dave.martin@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-12-04 11:00:52 +00:00
..
2009-02-01 11:01:22 +05:30
2009-10-11 16:25:06 +01:00
2009-03-15 21:01:20 -04:00
2009-05-29 08:40:02 -07:00
2010-10-26 16:52:08 -07:00
2010-10-16 22:57:38 +02:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-10-29 13:14:40 -05:00
2010-06-09 11:12:36 +02:00
2010-10-27 21:41:39 +01:00
2010-07-31 14:20:02 +01:00
2010-04-22 21:38:11 +01:00
2009-08-17 20:02:06 +01:00
2009-12-18 16:07:53 +00:00
2010-10-01 22:32:18 -04:00
2010-07-16 10:57:35 +01:00
2008-09-04 09:46:11 +01:00
2008-11-27 12:37:59 +00:00
2010-10-01 22:32:18 -04:00
2008-09-06 12:10:45 +01:00