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>
10 lines
184 B
C
10 lines
184 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __ASM_IDLE_H
|
|
#define __ASM_IDLE_H
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
extern asmlinkage void __arch_cpu_idle(void);
|
|
|
|
#endif /* __ASM_IDLE_H */
|