[ARM] fix a couple clear_user_highpage assembly constraints
authorNicolas Pitre <nico@cam.org>
Tue, 4 Nov 2008 07:42:27 +0000 (02:42 -0500)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 15:36:43 +0000 (15:36 +0000)
commit43ae286b7d4d8c4983bc263ef2e3cccc10dedb2b
treebe10faffb48904e5bb962fbd45f7cb2ff395caea
parent303c6443659bc1dc911356f5de149f48ff1d97b8
[ARM] fix a couple clear_user_highpage assembly constraints

In all cases the kaddr is assigned an input register even though it is
modified in the assembly code.  Let's assign a new variable to the
modified value and mark those inline asm with volatile otherwise they
get optimized away because the output variable is otherwise not used.

Also fix a few conversion errors in copypage-feroceon.c and
copypage-v4mc.c.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/copypage-feroceon.c
arch/arm/mm/copypage-v3.c
arch/arm/mm/copypage-v4mc.c
arch/arm/mm/copypage-v4wb.c
arch/arm/mm/copypage-v4wt.c
arch/arm/mm/copypage-xsc3.c
arch/arm/mm/copypage-xscale.c