Ralf Baechle | 1ee3630 | 2015-09-29 12:19:48 +0200 | [diff] [blame] | 1 | #include <linux/module.h> |
2 | |||||
3 | unsigned int __bswapsi2(unsigned int u) | ||||
4 | { | ||||
5 | return (((u) & 0xff000000) >> 24) | | ||||
6 | (((u) & 0x00ff0000) >> 8) | | ||||
7 | (((u) & 0x0000ff00) << 8) | | ||||
8 | (((u) & 0x000000ff) << 24); | ||||
9 | } | ||||
10 | |||||
11 | EXPORT_SYMBOL(__bswapsi2); |