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
898562e
..
1f6b71f
100644
(file)
--- a/
include/asm-sparc/system.h
+++ b/
include/asm-sparc/system.h
@@
-9,7
+9,6
@@
#include <linux/threads.h> /* NR_CPUS */
#include <linux/thread_info.h>
#include <linux/threads.h> /* NR_CPUS */
#include <linux/thread_info.h>
-#include <asm/segment.h>
#include <asm/page.h>
#include <asm/psr.h>
#include <asm/ptrace.h>
#include <asm/page.h>
#include <asm/psr.h>
#include <asm/ptrace.h>
@@
-205,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"