mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
803b0fc5c3
Add process management support for LoongArch, including: thread info definition, context switch and process tracing. Reviewed-by: WANG Xuerui <git@xen0n.name> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
17 lines
301 B
C
17 lines
301 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*/
|
|
#ifndef __ASM_MMU_H
|
|
#define __ASM_MMU_H
|
|
|
|
#include <linux/atomic.h>
|
|
#include <linux/spinlock.h>
|
|
|
|
typedef struct {
|
|
u64 asid[NR_CPUS];
|
|
void *vdso;
|
|
} mm_context_t;
|
|
|
|
#endif /* __ASM_MMU_H */
|