1 From 55c0c4c793b538fb438bcc72481b9dc2f79fe5a9 Mon Sep 17 00:00:00 2001
2 From: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
3 Date: Mon, 8 Apr 2019 16:04:38 +0300
4 Subject: ARC: memset: fix build with L1_CACHE_SHIFT != 6
6 From: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
8 commit 55c0c4c793b538fb438bcc72481b9dc2f79fe5a9 upstream.
10 In case of 'L1_CACHE_SHIFT != 6' we define dummy assembly macroses
11 PREALLOC_INSTR and PREFETCHW_INSTR without arguments. However
12 we pass arguments to them in code which cause build errors.
15 Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
16 Cc: <stable@vger.kernel.org> [5.0]
17 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 arch/arc/lib/memset-archs.S | 4 ++--
22 1 file changed, 2 insertions(+), 2 deletions(-)
24 --- a/arch/arc/lib/memset-archs.S
25 +++ b/arch/arc/lib/memset-archs.S
30 -.macro PREALLOC_INSTR
31 +.macro PREALLOC_INSTR reg, off
34 -.macro PREFETCHW_INSTR
35 +.macro PREFETCHW_INSTR reg, off