linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-v850 / system.h
index da39916..107decb 100644 (file)
@@ -18,6 +18,8 @@
 #include <asm/ptrace.h>
 
 
+#define prepare_to_switch()    do { } while (0)
+
 /*
  * switch_to(n) should switch tasks to task ptr, first checking that
  * ptr isn't the current task, in which case it does nothing.
@@ -68,6 +70,7 @@ static inline int irqs_disabled (void)
 #define read_barrier_depends() ((void)0)
 #define set_rmb(var, value)    do { xchg (&var, value); } while (0)
 #define set_mb(var, value)     set_rmb (var, value)
+#define set_wmb(var, value)    do { var = value; wmb (); } while (0)
 
 #define smp_mb()       mb ()
 #define smp_rmb()      rmb ()