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:
d91f2cb
)
MIPS: EMMA2RH: Remove emma2rh_sync on read operation
author
Shinya Kuribayashi
<
[email protected]
>
Thu, 23 Oct 2008 16:30:48 +0000
(
01:30
+0900)
committer
Ralf Baechle
<
[email protected]
>
Mon, 27 Oct 2008 16:18:30 +0000
(16:18 +0000)
It's totally a waste of CPU cycles.
Signed-off-by: Shinya Kuribayashi <
[email protected]
>
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/include/asm/emma/emma2rh.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/emma/emma2rh.h
b/arch/mips/include/asm/emma/emma2rh.h
index a41f84e9bc4e6109fb65300554f9f722b51d371e..30aea91de626122d6f27af5195c504deb56988b4 100644
(file)
--- a/
arch/mips/include/asm/emma/emma2rh.h
+++ b/
arch/mips/include/asm/emma/emma2rh.h
@@
-206,7
+206,6
@@
static inline void emma2rh_out32(u32 offset, u32 val)
static inline u32 emma2rh_in32(u32 offset)
{
u32 val = *(volatile u32 *)(EMMA2RH_BASE | offset);
- emma2rh_sync();
return val;
}
@@
-219,7
+218,6
@@
static inline void emma2rh_out16(u32 offset, u16 val)
static inline u16 emma2rh_in16(u32 offset)
{
u16 val = *(volatile u16 *)(EMMA2RH_BASE | offset);
- emma2rh_sync();
return val;
}
@@
-232,7
+230,6
@@
static inline void emma2rh_out8(u32 offset, u8 val)
static inline u8 emma2rh_in8(u32 offset)
{
u8 val = *(volatile u8 *)(EMMA2RH_BASE | offset);
- emma2rh_sync();
return val;
}