]> err.no Git - linux-2.6/blobdiff - include/asm-mips/system.h
[PATCH] sched: sched_cacheflush is now unused
[linux-2.6] / include / asm-mips / system.h
index be64fc55562ae2928d98275ff9c9634ac74959a1..76339165bc20e90e84089f8da7fb795f9b9b00c2 100644 (file)
@@ -56,7 +56,7 @@ do {                                                                  \
 } while(0)
 
 #else
-#define __mips_mt_fpaff_switch_to(prev) do { (prev); } while (0)
+#define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0)
 #endif
 
 #define switch_to(prev,next,last)                                      \
@@ -71,16 +71,6 @@ do {                                                                 \
                write_c0_userlocal(task_thread_info(current)->tp_value);\
 } while(0)
 
-/*
- * 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)
-{
-}
-
 static inline unsigned long __xchg_u32(volatile int * m, unsigned int val)
 {
        __u32 retval;