repo.or.cz
/
cris-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git]
/
arch
/
mips
/
lib
/
bswapsi.c
blob
530a8afe6fda20e345dff0d1e05ff8035cc0950a
1
#include <linux/module.h>
2
3
unsigned int
notrace
__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
);