]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Fix optimized __copy_user() movca.l usage.
authorStuart Menefy <stuart.menefy@st.com>
Fri, 2 Nov 2007 03:14:09 +0000 (12:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 2 Nov 2007 03:14:09 +0000 (12:14 +0900)
commit0e670685e4925930000a678c74eb1cbf23b415fa
tree49df41f99ede80730c4262efdebd3e802d735d2c
parentc81134b58c0857122cce23b29d41788e02a5024d
sh: Fix optimized __copy_user() movca.l usage.

movca.l is restricted to SH-4 and up only, though compilers that
are unable to support ISA tuning (especially older versions of
binutils) will happily compile in the bogus opcode on older parts.

Conditionalize it to fix SH-3 regressions noted by Kristoffer.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/copy_page.S