git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Improve (in|out)_[bl]eXX() asm code
[sfrench/cifs-2.6.git]
/
include
/
asm-ppc
/
system.h
diff --git
a/include/asm-ppc/system.h
b/include/asm-ppc/system.h
index 0593cb889d45306cf6dac6f5b837ccbca081935f..70ebd333c55b24f474a7349f43047566f198b67e 100644
(file)
--- a/
include/asm-ppc/system.h
+++ b/
include/asm-ppc/system.h
@@
-178,7
+178,7
@@
static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size
}
-
extern
inline void * xchg_ptr(void * m, void * val)
+
static
inline void * xchg_ptr(void * m, void * val)
{
return (void *) xchg_u32(m, (unsigned long) val);
}