From 7996a3d79d55b7f879dfd62e202bbfe2963718d3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 Jul 2013 22:15:01 +0000 Subject: really properly move files --- libdde-linux26/contrib/arch/x86/include/asm/mmu.h | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 libdde-linux26/contrib/arch/x86/include/asm/mmu.h (limited to 'libdde-linux26/contrib/arch/x86/include/asm/mmu.h') diff --git a/libdde-linux26/contrib/arch/x86/include/asm/mmu.h b/libdde-linux26/contrib/arch/x86/include/asm/mmu.h new file mode 100644 index 00000000..80a1dee5 --- /dev/null +++ b/libdde-linux26/contrib/arch/x86/include/asm/mmu.h @@ -0,0 +1,26 @@ +#ifndef _ASM_X86_MMU_H +#define _ASM_X86_MMU_H + +#include +#include + +/* + * The x86 doesn't have a mmu context, but + * we put the segment information here. + */ +typedef struct { + void *ldt; + int size; + struct mutex lock; + 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 */ -- cgit v1.2.3