]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 3486/1: Mark memory as clobbered by the ARM _syscallX() macros
authorMarkus Gutschke <markus@google.com>
Sun, 30 Apr 2006 14:34:29 +0000 (15:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 30 Apr 2006 14:34:29 +0000 (15:34 +0100)
commitcd95842ca0ffb0e3df3b459832a60f9f4544ed9e
treeac05eb43e6e3449bcb6dd9357069f795e64d3e9f
parente0a515bc6a2188f02916e976f419a8640312e32a
[ARM] 3486/1: Mark memory as clobbered by the ARM _syscallX() macros

Patch from Markus Gutschke

In order to prevent gcc from making incorrect optimizations, all asm()
statements that define system calls should report memory as
clobbered. Recent versions of the headers for i386 have been changed
accordingly, but the ARM headers are still defective.

This patch fixes the bug tracked at
http://bugzilla.kernel.org/show_bug.cgi?id=6205

Signed-off-by: Markus Gutschke <markus@google.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/input/touchscreen/corgi_ts.c
include/asm-arm/unistd.h