projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21cee1b
)
ARC: memset: fix build with L1_CACHE_SHIFT != 6
author
Eugeniy Paltsev
<Eugeniy.Paltsev@synopsys.com>
Mon, 8 Apr 2019 13:04:38 +0000
(16:04 +0300)
committer
Vineet 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/arc/lib/memset-archs.S
b/arch/arc/lib/memset-archs.S
index f230bb7092fdb3d7d98883ab7310db1b4bc56654..b3373f5c88e0bf9267af0cb9dbc7f5b0f6cf6be8 100644
(file)
--- 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