projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ARM SMP] Track CPU idle threads
[powerpc.git]
/
include
/
asm-sparc
/
system.h
diff --git
a/include/asm-sparc/system.h
b/include/asm-sparc/system.h
index
3557781
..
1f6b71f
100644
(file)
--- a/
include/asm-sparc/system.h
+++ b/
include/asm-sparc/system.h
@@
-204,7
+204,7
@@
static inline unsigned long getipl(void)
BTFIXUPDEF_CALL(void, ___xchg32, void)
#endif
BTFIXUPDEF_CALL(void, ___xchg32, void)
#endif
-
extern __inline__
unsigned long xchg_u32(__volatile__ unsigned long *m, unsigned long val)
+
static inline
unsigned long xchg_u32(__volatile__ unsigned long *m, unsigned long val)
{
#ifdef CONFIG_SMP
__asm__ __volatile__("swap [%2], %0"
{
#ifdef CONFIG_SMP
__asm__ __volatile__("swap [%2], %0"