]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 5320/1: fix assembly constraints in implementation of do_div()
authorNicolas Pitre <nico@cam.org>
Thu, 23 Oct 2008 03:34:08 +0000 (04:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 23 Oct 2008 11:53:32 +0000 (12:53 +0100)
Those inline assembly segments using the umlal instruction must have
the & modifier so to be sure that a purely input register won't alias
one of the registers used as input+output.  In most cases, the inputs
are still used after the outputs are touched, and most binutil versions
insist on "rdhi, rdlo and rm must all be different" even for ARMv6+.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found