projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe0065e
)
MIPS: barrier: Clean up sync_ginv()
author
Paul Burton
<
[email protected]
>
Tue, 1 Oct 2019 21:53:14 +0000
(21:53 +0000)
committer
Paul Burton
<
[email protected]
>
Mon, 7 Oct 2019 16:42:24 +0000
(09:42 -0700)
Use the new __SYNC() infrastructure to implement sync_ginv(), for
consistency with much of the rest of the asm/barrier.h.
Signed-off-by: Paul Burton <
[email protected]
>
Cc:
[email protected]
Cc: Huacai Chen <
[email protected]
>
Cc: Jiaxun Yang <
[email protected]
>
Cc:
[email protected]
arch/mips/include/asm/barrier.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/barrier.h
b/arch/mips/include/asm/barrier.h
index a117c6d95038dfda91c9e8e009800b029b79b1bf..c7e05e832da9a1e1c60d889208571a5d3663033f 100644
(file)
--- a/
arch/mips/include/asm/barrier.h
+++ b/
arch/mips/include/asm/barrier.h
@@
-163,7
+163,7
@@
static inline void wmb(void)
static inline void sync_ginv(void)
{
- asm volatile(
"sync\t%0" :: "i"(__SYNC_ginv
));
+ asm volatile(
__SYNC(ginv, always
));
}
#include <asm-generic/barrier.h>