From: Guo Ren Date: Thu, 10 Jan 2019 12:28:39 +0000 (+0800) Subject: csky: fixup compile error with CPU 810. X-Git-Tag: v5.4.17~4397 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=70c25259537c073584eb906865307687275b527f;p=arm%2Flinux.git 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 Cc: Arnd Bergmann Signed-off-by: Linus Torvalds --- 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;