Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
msm-4.9
/
1ee3630a3e57f38f688a6f0a5f9edbd8a0d7201f
/
.
/
arch
/
mips
/
lib
/
bswapsi.c
blob: 2b302ff121d231c06ca1cfd2a58cf813a2d01935 [
file
] [
log
] [
blame
]
#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
);