repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
x86/boot: Rename overlapping memcpy() to memmove()
[linux/fpc-iii.git]
/
arch
/
mips
/
lib
/
bswapsi.c
blob
2b302ff121d231c06ca1cfd2a58cf813a2d01935
1
#include <linux/module.h>
2
3
unsigned int
__bswapsi2
(
unsigned int
u
)
4
{
5
return
(((
u
) &
0xff000000
) >>
24
) |
6
(((
u
) &
0x00ff0000
) >>
8
) |
7
(((
u
) &
0x0000ff00
) <<
8
) |
8
(((
u
) &
0x000000ff
) <<
24
);
9
}
10
11
EXPORT_SYMBOL
(
__bswapsi2
);