Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_samsung_universal7904
/
9a77c36c4a5ed7d218d3a5d154ef73e430e50052
/
.
/
arch
/
mips
/
lib
/
bswapsi.c
blob: 530a8afe6fda20e345dff0d1e05ff8035cc0950a [
file
] [
log
] [
blame
]
#include
<linux/module.h>
unsigned
int
notrace __bswapsi2
(
unsigned
int
u
)
{
return
(((
u
)
&
0xff000000
)
>>
24
)
|
(((
u
)
&
0x00ff0000
)
>>
8
)
|
(((
u
)
&
0x0000ff00
)
<<
8
)
|
(((
u
)
&
0x000000ff
)
<<
24
);
}
EXPORT_SYMBOL
(
__bswapsi2
);