OSDN Git Service

csky: fixup compile error with CPU 810.
authorGuo Ren <ren_guo@c-sky.com>
Thu, 10 Jan 2019 12:28:39 +0000 (20:28 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Jan 2019 12:37:37 +0000 (04:37 -0800)
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>
arch/csky/kernel/module.c

index 0b028ee..b5ad7d9 100644 (file)
@@ -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;