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

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
...@@ -30,10 +30,10 @@ ...@@ -30,10 +30,10 @@
#else #else
.macro PREALLOC_INSTR .macro PREALLOC_INSTR reg, off
.endm .endm
.macro PREFETCHW_INSTR .macro PREFETCHW_INSTR reg, off
.endm .endm
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment