Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68686
b: refs/heads/master
c: bda76dd
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 14, 2007
1 parent 93e6652 commit f588aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1519d047ca55406e0fc3dd2b8de266f971ea210
refs/heads/master: bda76dd1600cc32a753bb9ae45dbe1d625aba92a
4 changes: 2 additions & 2 deletions trunk/include/asm-powerpc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ DEF_MMIO_IN_BE(in_be64, 64, ld);
/* There is no asm instructions for 64 bits reverse loads and stores */
static inline u64 in_le64(const volatile u64 __iomem *addr)
{
return le64_to_cpu(in_be64(addr));
return swab64(in_be64(addr));
}

static inline void out_le64(volatile u64 __iomem *addr, u64 val)
{
out_be64(addr, cpu_to_le64(val));
out_be64(addr, swab64(val));
}
#endif /* __powerpc64__ */

Expand Down

0 comments on commit f588aad

Please sign in to comment.