X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-parisc%2Fsystem.h;h=863876134b2ca9cce106096cfff6551689403c79;hb=c0897856553d45aee1780bed455b7c2e888dd64b;hp=f3928d3a80cb01b2afd25569a59fd37e178a4576;hpb=d8762748cae4f85b3201c0304969d993b42d5258;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-parisc/system.h b/include/asm-parisc/system.h index f3928d3a80c..863876134b2 100644 --- a/include/asm-parisc/system.h +++ b/include/asm-parisc/system.h @@ -1,7 +1,6 @@ #ifndef __PARISC_SYSTEM_H #define __PARISC_SYSTEM_H -#include #include /* The program status word as bitfields. */ @@ -49,6 +48,15 @@ extern struct task_struct *_switch_to(struct task_struct *, struct task_struct * (last) = _switch_to(prev, 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) +{ +} /* interrupt control */