]> err.no Git - linux-2.6/blobdiff - include/asm-alpha/system.h
[PATCH] sched: sched_cacheflush is now unused
[linux-2.6] / include / asm-alpha / system.h
index 42959c356456554fc73c75da0f5ad62d6e413b51..620c4d86cbf48d50ae8b254fc147f80fa199b1e7 100644 (file)
@@ -139,16 +139,6 @@ extern void halt(void) __attribute__((noreturn));
 struct task_struct;
 extern struct task_struct *alpha_switch_to(unsigned long, struct task_struct*);
 
-/*
- * 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)
-{
-}
-
 #define imb() \
 __asm__ __volatile__ ("call_pal %0 #imb" : : "i" (PAL_imb) : "memory")
 
@@ -548,9 +538,6 @@ __xchg_u64_local(volatile long *m, unsigned long val)
                sizeof(*(ptr))); \
   })
 
-#define tas(ptr) (xchg((ptr),1))
-
-
 /* 
  * Atomic compare and exchange.  Compare OLD with MEM, if identical,
  * store NEW in MEM.  Return the initial value in MEM.  Success is