aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/mmu.h')
-rw-r--r--include/asm-x86/mmu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-x86/mmu.h b/include/asm-x86/mmu.h
index 3f922c8e1c88..efa962c38897 100644
--- a/include/asm-x86/mmu.h
+++ b/include/asm-x86/mmu.h
@@ -20,4 +20,12 @@ typedef struct {
20 void *vdso; 20 void *vdso;
21} mm_context_t; 21} mm_context_t;
22 22
23#ifdef CONFIG_SMP
24void leave_mm(int cpu);
25#else
26static inline void leave_mm(int cpu)
27{
28}
29#endif
30
23#endif /* _ASM_X86_MMU_H */ 31#endif /* _ASM_X86_MMU_H */