]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ppc/system.h
[PATCH] genirq: i386 irq: Move msi message composition into io_apic.c
[linux-2.6-omap-h63xx.git] / include / asm-ppc / system.h
index b97037348277695fcef59ccb401318a99c0ac80a..738943584c017547b765998214cdecb4db235397 100644 (file)
@@ -33,7 +33,6 @@
 #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()
@@ -131,6 +130,16 @@ extern struct task_struct *__switch_to(struct task_struct *,
        struct task_struct *);
 #define switch_to(prev, next, last)    ((last) = __switch_to((prev), (next)))
 
+/*
+ * On SMP systems, when the scheduler does migration-cost autodetection,
+ * it needs a way to flush as much of the CPU's caches as possible.
+ *
+ * TODO: fill this in!
+ */
+static inline void sched_cacheflush(void)
+{
+}
+
 struct thread_struct;
 extern struct task_struct *_switch(struct thread_struct *prev,
                                   struct thread_struct *next);