csky: fixup relocation error with 807 & 860
authorGuo Ren <ren_guo@c-sky.com>
Tue, 8 Jan 2019 11:52:22 +0000 (19:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Feb 2019 09:29:02 +0000 (10:29 +0100)
commit66535eab9d5705acd2accc572b0da9c0e14d3b61
tree09d4ceb36aa7a45ce2e4b90d8a4efa9f40a6878b
parentcafd389b81df7b4d0c94c33ecdaba7d80cd1d275
csky: fixup relocation error with 807 & 860

[ Upstream commit f553aa1c13cbc29aaf420349a28fc33ca98440e5 ]

810 doesn't support jsri instruction and csky-as will leave
jsri + nop for relocation. Module-probe need replace them with
lrw + jsr.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Hui Kai <huikai@acoinfo.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/csky/kernel/module.c