treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
[linux-2.6-block.git] / arch / mips / include / asm / mmu.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef __ASM_MMU_H
3#define __ASM_MMU_H
4
9791554b 5#include <linux/atomic.h>
432c6bac
PB
6#include <linux/spinlock.h>
7#include <linux/wait.h>
9791554b 8
c52d0d30 9typedef struct {
c8790d65
PB
10 union {
11 u64 asid[NR_CPUS];
12 atomic64_t mmid;
13 };
14
c52d0d30 15 void *vdso;
432c6bac
PB
16
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;
c52d0d30 23} mm_context_t;
1da177e4
LT
24
25#endif /* __ASM_MMU_H */