1*803b0fc5SHuacai Chen /* SPDX-License-Identifier: GPL-2.0 */ 2*803b0fc5SHuacai Chen /* 3*803b0fc5SHuacai Chen * Copyright (C) 2020-2022 Loongson Technology Corporation Limited 4*803b0fc5SHuacai Chen */ 5*803b0fc5SHuacai Chen #ifndef __ASM_MMU_H 6*803b0fc5SHuacai Chen #define __ASM_MMU_H 7*803b0fc5SHuacai Chen 8*803b0fc5SHuacai Chen #include <linux/atomic.h> 9*803b0fc5SHuacai Chen #include <linux/spinlock.h> 10*803b0fc5SHuacai Chen 11*803b0fc5SHuacai Chen typedef struct { 12*803b0fc5SHuacai Chen u64 asid[NR_CPUS]; 13*803b0fc5SHuacai Chen void *vdso; 14*803b0fc5SHuacai Chen } mm_context_t; 15*803b0fc5SHuacai Chen 16*803b0fc5SHuacai Chen #endif /* __ASM_MMU_H */ 17