X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fsystem.h;h=620c4d86cbf48d50ae8b254fc147f80fa199b1e7;hb=195be1c2086929efe1ca315e23f031f06e086369;hp=42959c356456554fc73c75da0f5ad62d6e413b51;hpb=f43f7b46eb101f50950cfcead0cb0b7a9c4f6823;p=mv-sheeva.git diff --git a/include/asm-alpha/system.h b/include/asm-alpha/system.h index 42959c35645..620c4d86cbf 100644 --- a/include/asm-alpha/system.h +++ b/include/asm-alpha/system.h @@ -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