1 /* SPDX-License-Identifier: GPL-2.0 */ !! 1 #ifndef __i386_MMU_H 2 #ifndef __ASM_GENERIC_MMU_H !! 2 #define __i386_MMU_H 3 #define __ASM_GENERIC_MMU_H << 4 3 >> 4 #include <asm/semaphore.h> 5 /* 5 /* 6 * This is the mmu.h header for nommu implemen !! 6 * The i386 doesn't have a mmu context, but 7 * Architectures with an MMU need something mo !! 7 * we put the segment information here. >> 8 * >> 9 * cpu_vm_mask is used to optimize ldt flushing. 8 */ 10 */ 9 #ifndef __ASSEMBLY__ !! 11 typedef struct { 10 typedef struct { !! 12 int size; 11 unsigned long end_brk; !! 13 struct semaphore sem; 12 !! 14 void *ldt; 13 #ifdef CONFIG_BINFMT_ELF_FDPIC << 14 unsigned long exec_fdpic_loa << 15 unsigned long interp_fdpic_l << 16 #endif << 17 } mm_context_t; 15 } mm_context_t; 18 #endif << 19 16 20 #endif /* __ASM_GENERIC_MMU_H */ !! 17 #endif 21 18
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.