X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh%2Fsystem.h;h=bb0330499bdfef3987cc88d7dd454ead0df3a929;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=5e67caf8885e2f5ced24cd448fb636f82144cc07;hpb=6a77f38946aaee1cd85eeec6cf4229b204c15071;p=linux-2.6.git diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 5e67caf88..bb0330499 100644 --- a/include/asm-sh/system.h +++ b/include/asm-sh/system.h @@ -57,6 +57,16 @@ last = __last; \ } 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) +{ +} + #define nop() __asm__ __volatile__ ("nop") @@ -259,4 +269,6 @@ static __inline__ unsigned long __xchg(unsigned long x, volatile void * ptr, int void disable_hlt(void); void enable_hlt(void); +#define arch_align_stack(x) (x) + #endif