diff --git a/[refs] b/[refs] index 637784d84217..fc2fd9b296b8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b1519d047ca55406e0fc3dd2b8de266f971ea210 +refs/heads/master: bda76dd1600cc32a753bb9ae45dbe1d625aba92a diff --git a/trunk/include/asm-powerpc/io.h b/trunk/include/asm-powerpc/io.h index affba7052fb6..0d0589ef8ea6 100644 --- a/trunk/include/asm-powerpc/io.h +++ b/trunk/include/asm-powerpc/io.h @@ -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__ */