From: Eugeniy Paltsev Date: Mon, 8 Apr 2019 13:04:38 +0000 (+0300) Subject: ARC: memset: fix build with L1_CACHE_SHIFT != 6 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=55c0c4c793b538fb438bcc72481b9dc2f79fe5a9;p=linux.git 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 Cc: [5.0] Signed-off-by: Vineet Gupta --- diff --git a/arch/arc/lib/memset-archs.S b/arch/arc/lib/memset-archs.S index f230bb7092fdb..b3373f5c88e0b 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