drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / mips / include / asm / mmu.h
blob5df0238f639b079aab2a6b6af81b89eb615cafd9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_MMU_H
3 #define __ASM_MMU_H
5 #include <linux/atomic.h>
6 #include <linux/spinlock.h>
7 #include <linux/wait.h>
9 typedef struct {
10 union {
11 u64 asid[NR_CPUS];
12 atomic64_t mmid;
15 void *vdso;
17 /* lock to be held whilst modifying fp_bd_emupage_allocmap */
18 spinlock_t bd_emupage_lock;
19 /* bitmap tracking allocation of fp_bd_emupage */
20 unsigned long *bd_emupage_allocmap;
21 /* wait queue for threads requiring an emuframe */
22 wait_queue_head_t bd_emupage_queue;
23 } mm_context_t;
25 #endif /* __ASM_MMU_H */