diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2019-04-08 16:04:38 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2019-04-08 18:41:44 +0300 |
commit | 55c0c4c793b538fb438bcc72481b9dc2f79fe5a9 (patch) | |
tree | 0254b9a6441004e66c3177aafb739e49bf1e157b /arch/arc/lib/memset-archs.S | |
parent | 21cee1bd1594b2af6798ddffa97555b4bc3586e1 (diff) | |
download | linux-55c0c4c793b538fb438bcc72481b9dc2f79fe5a9.tar.xz |
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/lib/memset-archs.S')
-rw-r--r-- | arch/arc/lib/memset-archs.S | 4 |
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 |