
28 Apr
2011
28 Apr
'11
12:56 a.m.
Dear Timur Tabi,
In message 1301952064-1418-1-git-send-email-timur@freescale.com you wrote:
For some reason, the implementation of out_8() does not match the other output accessors, nor does it match equivalent Linux accessor. This can cause a problem in a situation like this:
__raw_readb(p1); out_8(p2, x);
In this case, there is no barrier between the read and the write. If the out_8() is changed to out_be16(), then there is a barrier.
Signed-off-by: Timur Tabi timur@freescale.com
arch/powerpc/include/asm/io.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
You don't need a weatherman to know which way the wind blows.
- Bob Dylan