patch-2.1.72 linux/include/asm-ppc/byteorder.h
Next file: linux/include/asm-ppc/posix_types.h
Previous file: linux/include/asm-mips/posix_types.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Dec 5 12:47:08 1997
- Orig file:
v2.1.71/linux/include/asm-ppc/byteorder.h
- Orig date:
Thu Dec 4 14:53:56 1997
diff -u --recursive --new-file v2.1.71/linux/include/asm-ppc/byteorder.h linux/include/asm-ppc/byteorder.h
@@ -61,15 +61,15 @@
#endif /* 0 */
/* The same, but returns converted value from the location pointer by addr. */
-#define __arch_swab16p(addr) ld_le16(addr)
-#define __arch_swab32p(addr) ld_le32(addr)
+#define __arch__swab16p(addr) ld_le16(addr)
+#define __arch__swab32p(addr) ld_le32(addr)
/* The same, but do the conversion in situ, ie. put the value back to addr. */
-#define __arch_swab16s(addr) st_le16(addr,*addr)
-#define __arch_swab32s(addr) st_le32(addr,*addr)
+#define __arch__swab16s(addr) st_le16(addr,*addr)
+#define __arch__swab32s(addr) st_le32(addr,*addr)
#endif /* __GNUC__ */
-#include <linux/byteorder_big_endian.h>
+#include <linux/byteorder/big_endian.h>
#endif /* _PPC_BYTEORDER_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov