Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55c0c4c7 authored by Eugeniy Paltsev's avatar Eugeniy Paltsev Committed by Vineet Gupta
Browse files

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: default avatarEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Cc: <stable@vger.kernel.org>    [5.0]
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 21cee1bd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,10 +30,10 @@

#else

.macro PREALLOC_INSTR
.macro PREALLOC_INSTR	reg, off
.endm

.macro PREFETCHW_INSTR
.macro PREFETCHW_INSTR	reg, off
.endm

#endif