Commit e18ea11e authored by Guo Ren's avatar Guo Ren Committed by Greg Kroah-Hartman

csky: fixup compile error with CPU 810.

[ Upstream commit 70c25259 ]

This bug is from commit f553aa1c ("csky: fixup relocation error with
807 & 860").

I forgot to compile with 810 for that patch.
Signed-off-by: Guo Ren's avatarGuo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 66500030
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
static void jsri_2_lrw_jsr(uint32_t *location) static void jsri_2_lrw_jsr(uint32_t *location)
{ {
uint16_t location_tmp = (uint16_t *)location; uint16_t *location_tmp = (uint16_t *)location;
if (IS_BSR32(*location_tmp, *(location_tmp + 1))) if (IS_BSR32(*location_tmp, *(location_tmp + 1)))
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment