1 #ifndef __ASM_MMU_H 2 #define __ASM_MMU_H 3 4 #include <linux/atomic.h> 5 #include <linux/spinlock.h> 6 #include <linux/wait.h> 7 8 typedef struct { 9 unsigned long asid[NR_CPUS]; 10 void *vdso; 11 atomic_t fp_mode_switching; 12 13 /* lock to be held whilst modifying fp_bd_emupage_allocmap */ 14 spinlock_t bd_emupage_lock; 15 /* bitmap tracking allocation of fp_bd_emupage */ 16 unsigned long *bd_emupage_allocmap; 17 /* wait queue for threads requiring an emuframe */ 18 wait_queue_head_t bd_emupage_queue; 19 } mm_context_t; 20 21 #endif /* __ASM_MMU_H */ 22