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 core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-cris
/
system.h
diff --git
a/include/asm-cris/system.h
b/include/asm-cris/system.h
index
d486701
..
b869f61
100644
(file)
--- a/
include/asm-cris/system.h
+++ b/
include/asm-cris/system.h
@@
-8,7
+8,6
@@
*/
extern struct task_struct *resume(struct task_struct *prev, struct task_struct *next, int);
*/
extern struct task_struct *resume(struct task_struct *prev, struct task_struct *next, int);
-#define prepare_to_switch() do { } while(0)
#define switch_to(prev,next,last) last = resume(prev,next, \
(int)&((struct task_struct *)0)->thread)
#define switch_to(prev,next,last) last = resume(prev,next, \
(int)&((struct task_struct *)0)->thread)
@@
-18,7
+17,6
@@
extern struct task_struct *resume(struct task_struct *prev, struct task_struct *
#define wmb() mb()
#define read_barrier_depends() do { } while(0)
#define set_mb(var, value) do { var = value; mb(); } while (0)
#define wmb() mb()
#define read_barrier_depends() do { } while(0)
#define set_mb(var, value) do { var = value; mb(); } while (0)
-#define set_wmb(var, value) do { var = value; wmb(); } while (0)
#ifdef CONFIG_SMP
#define smp_mb() mb()
#ifdef CONFIG_SMP
#define smp_mb() mb()
@@
-71,4
+69,6
@@
static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
#define arch_align_stack(x) (x)
#define arch_align_stack(x) (x)
+void default_idle(void);
+
#endif
#endif