X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86%2Fmmu.h;h=efa962c388975c916e3dec785e4b09669e764d42;hb=6c47d773e7d8f784996d9027f035379baa19ded7;hp=3f922c8e1c881fcba9f779c75648d54225f15481;hpb=41f81e88e01eb959f439f8537c58078e4bfc5291;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-x86/mmu.h b/include/asm-x86/mmu.h index 3f922c8e1c8..efa962c3889 100644 --- a/include/asm-x86/mmu.h +++ b/include/asm-x86/mmu.h @@ -20,4 +20,12 @@ typedef struct { void *vdso; } mm_context_t; +#ifdef CONFIG_SMP +void leave_mm(int cpu); +#else +static inline void leave_mm(int cpu) +{ +} +#endif + #endif /* _ASM_X86_MMU_H */