diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2019-04-08 16:04:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-08 07:22:43 +0200 |
commit | fb1f2cb221f56f6c4509ddf189e6f2d906839bab (patch) | |
tree | 7b26dc38258a84c38fc691efb9488f6991a5c6f6 /arch/arc | |
parent | 00ddbaed26634eaa8841f692e238f6994b4f261f (diff) |
ARC: memset: fix build with L1_CACHE_SHIFT != 6
commit 55c0c4c793b538fb438bcc72481b9dc2f79fe5a9 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc')
-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 |