summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2019-04-08 15:04:38 +0200
committerVineet Gupta <vgupta@synopsys.com>2019-04-08 17:41:44 +0200
commit55c0c4c793b538fb438bcc72481b9dc2f79fe5a9 (patch)
tree0254b9a6441004e66c3177aafb739e49bf1e157b /arch/arc
parentARC: [hsdk] Make it easier to add PAE40 region to DTB (diff)
downloadlinux-55c0c4c793b538fb438bcc72481b9dc2f79fe5a9.tar.xz
linux-55c0c4c793b538fb438bcc72481b9dc2f79fe5a9.zip
ARC: memset: fix build with L1_CACHE_SHIFT != 6
In case of 'L1_CACHE_SHIFT != 6' we define dummy assembly macroses PREALLOC_INSTR and PREFETCHW_INSTR without arguments. However we pass arguments to them in code which cause build errors. Fix that. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Cc: <stable@vger.kernel.org> [5.0] Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/lib/memset-archs.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/lib/memset-archs.S b/arch/arc/lib/memset-archs.S
index f230bb7092fd..b3373f5c88e0 100644
--- a/arch/arc/lib/memset-archs.S
+++ b/arch/arc/lib/memset-archs.S
@@ -30,10 +30,10 @@
#else
-.macro PREALLOC_INSTR
+.macro PREALLOC_INSTR reg, off
.endm
-.macro PREFETCHW_INSTR
+.macro PREFETCHW_INSTR reg, off
.endm
#endif