summaryrefslogtreecommitdiffstats
path: root/arch/csky
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-01-10 20:28:39 +0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-01-10 04:37:37 -0800
commit70c25259537c073584eb906865307687275b527f (patch)
tree1c66a1d789bf588083ff7eb03671020e36c8ffdf /arch/csky
parentba422731316dde1e22dcc84b83c7349dc0ce1c3c (diff)
downloadlinux-70c25259537c073584eb906865307687275b527f.tar.bz2
csky: fixup compile error with CPU 810.
This bug is from commit f553aa1c13cb ("csky: fixup relocation error with 807 & 860"). I forgot to compile with 810 for that patch. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/csky')
-rw-r--r--arch/csky/kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/module.c b/arch/csky/kernel/module.c
index 0b028ee3c764..b5ad7d9de18c 100644
--- a/arch/csky/kernel/module.c
+++ b/arch/csky/kernel/module.c
@@ -28,7 +28,7 @@
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)))
return;