LoongArch: Allow usage of LSX/LASX in the kernel
authorHuacai Chen <chenhuacai@loongson.cn>
Wed, 6 Sep 2023 14:53:55 +0000 (22:53 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 6 Sep 2023 14:53:55 +0000 (22:53 +0800)
commit2478e4b7593a2a55073a4a6bf23dc885c19befd8
tree23933588fdae4d518a0e93a763d4d3df01f4835c
parent8f58c571bf3095278ebda49ce95df5ead27ebb42
LoongArch: Allow usage of LSX/LASX in the kernel

Allow usage of LSX/LASX in the kernel by extending kernel_fpu_begin()
and kernel_fpu_end().

Reviewed-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/kfpu.c