mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
12 lines
246 B
C
12 lines
246 B
C
|
#include <linux/module.h>
|
||
|
|
||
|
unsigned int __bswapsi2(unsigned int u)
|
||
|
{
|
||
|
return (((u) & 0xff000000) >> 24) |
|
||
|
(((u) & 0x00ff0000) >> 8) |
|
||
|
(((u) & 0x0000ff00) << 8) |
|
||
|
(((u) & 0x000000ff) << 24);
|
||
|
}
|
||
|
|
||
|
EXPORT_SYMBOL(__bswapsi2);
|