Commit | Line | Data |
---|---|---|
b2441318 | 1 | // SPDX-License-Identifier: GPL-2.0 |
527581b9 PG |
2 | #include <linux/export.h> |
3 | #include <linux/compiler.h> | |
1ee3630a | 4 | |
aedcfbe0 | 5 | unsigned int notrace __bswapsi2(unsigned int u) |
1ee3630a RB |
6 | { |
7 | return (((u) & 0xff000000) >> 24) | | |
8 | (((u) & 0x00ff0000) >> 8) | | |
9 | (((u) & 0x0000ff00) << 8) | | |
10 | (((u) & 0x000000ff) << 24); | |
11 | } | |
12 | ||
13 | EXPORT_SYMBOL(__bswapsi2); |