target/cxgbit: Use T6 specific macros to get ETH/IP hdr len
[linux/fpc-iii.git] / arch / mips / lib / bswapsi.c
blob106fd978317d3b35740e62f4f0f00979011b050e
1 #include <linux/export.h>
2 #include <linux/compiler.h>
4 unsigned int notrace __bswapsi2(unsigned int u)
6 return (((u) & 0xff000000) >> 24) |
7 (((u) & 0x00ff0000) >> 8) |
8 (((u) & 0x0000ff00) << 8) |
9 (((u) & 0x000000ff) << 24);
12 EXPORT_SYMBOL(__bswapsi2);