git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-cris
/
arch-v10
/
byteorder.h
diff --git
a/include/asm-cris/arch-v10/byteorder.h
b/include/asm-cris/arch-v10/byteorder.h
index
e24465d
..
255b646
100644
(file)
--- a/
include/asm-cris/arch-v10/byteorder.h
+++ b/
include/asm-cris/arch-v10/byteorder.h
@@
-9,14
+9,14
@@
* them together into ntohl etc.
*/
* them together into ntohl etc.
*/
-
extern __inline__
__attribute_const__ __u32 ___arch__swab32(__u32 x)
+
static inline
__attribute_const__ __u32 ___arch__swab32(__u32 x)
{
__asm__ ("swapwb %0" : "=r" (x) : "0" (x));
return(x);
}
{
__asm__ ("swapwb %0" : "=r" (x) : "0" (x));
return(x);
}
-
extern __inline__
__attribute_const__ __u16 ___arch__swab16(__u16 x)
+
static inline
__attribute_const__ __u16 ___arch__swab16(__u16 x)
{
__asm__ ("swapb %0" : "=r" (x) : "0" (x));
{
__asm__ ("swapb %0" : "=r" (x) : "0" (x));