]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARC: memset: fix build with L1_CACHE_SHIFT != 6
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Mon, 8 Apr 2019 13:04:38 +0000 (16:04 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 8 Apr 2019 15:41:44 +0000 (08:41 -0700)
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>
arch/arc/lib/memset-archs.S

index f230bb7092fdb3d7d98883ab7310db1b4bc56654..b3373f5c88e0bf9267af0cb9dbc7f5b0f6cf6be8 100644 (file)
 
 #else
 
-.macro PREALLOC_INSTR
+.macro PREALLOC_INSTR  reg, off
 .endm
 
-.macro PREFETCHW_INSTR
+.macro PREFETCHW_INSTR reg, off
 .endm
 
 #endif