| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | #include <linux/export.h> | ||||
| 3 | #include <linux/compiler.h> | ||||
| 4 | |||||
| 5 | unsigned int notrace __bswapsi2(unsigned int u) | ||||
| 6 | { | ||||
| 7 | return (((u) & 0xff000000) >> 24) | | ||||
| 8 | (((u) & 0x00ff0000) >> 8) | | ||||
| 9 | (((u) & 0x0000ff00) << 8) | | ||||
| 10 | (((u) & 0x000000ff) << 24); | ||||
| 11 | } | ||||
| 12 | |||||
| 13 | EXPORT_SYMBOL(__bswapsi2); | ||||