Pull dock-bay into release branch
[linux-2.6-block.git] / include / asm-arm26 / system.h
index 00ae32aa1dbaf2f1ad0ac3e86d66b55d09581b1b..e09da5ff1f54d2198fa5dbbbc94b86fe25510a8e 100644 (file)
@@ -52,8 +52,6 @@ void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int,
 #define xchg(ptr,x) \
        ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
 
-#define tas(ptr) (xchg((ptr),1))
-
 extern asmlinkage void __backtrace(void);
 
 #define set_cr(x)                                      \
@@ -111,16 +109,6 @@ do {                                                                       \
        last = __switch_to(prev,task_thread_info(prev),task_thread_info(next)); \
 } 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)
-{
-}
-
 /*
  * Save the current interrupt enable state & disable IRQs
  */