diff options
| author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2019-04-08 09:04:38 -0400 |
|---|---|---|
| committer | Vineet Gupta <vgupta@synopsys.com> | 2019-04-08 11:41:44 -0400 |
| commit | 55c0c4c793b538fb438bcc72481b9dc2f79fe5a9 (patch) | |
| tree | 0254b9a6441004e66c3177aafb739e49bf1e157b | |
| parent | 21cee1bd1594b2af6798ddffa97555b4bc3586e1 (diff) | |
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>
| -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 @@ | |||
| 30 | 30 | ||
| 31 | #else | 31 | #else |
| 32 | 32 | ||
| 33 | .macro PREALLOC_INSTR | 33 | .macro PREALLOC_INSTR reg, off |
| 34 | .endm | 34 | .endm |
| 35 | 35 | ||
| 36 | .macro PREFETCHW_INSTR | 36 | .macro PREFETCHW_INSTR reg, off |
| 37 | .endm | 37 | .endm |
| 38 | 38 | ||
| 39 | #endif | 39 | #endif |
