1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __ASM_MMU_H 3 #define __ASM_MMU_H 4 5 #include <linux/atomic.h> 6 #include <linux/spinlock.h> 7 #include <linux/wait.h> 8 9 typedef struct { 10 u64 asid[NR_CPUS]; 11 void *vdso; 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