X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh%2Fsystem.h;h=bb0330499bdfef3987cc88d7dd454ead0df3a929;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=28a3c2d8bcd7c132afb75f87b16d7a684678500d;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 28a3c2d8b..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")