diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2023-05-01 17:19:27 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-05-01 17:19:27 +0800 |
commit | 2b3bd32ea3a22ea2d5e591da4ac2c2b1fb17c0e0 (patch) | |
tree | 471e30e5fb3a312649f60e7ff597039a6e8d99d8 /arch/loongarch/kernel/Makefile | |
parent | c23e7f01cf621290770069d968ca4c8356a50d00 (diff) | |
download | lwn-2b3bd32ea3a22ea2d5e591da4ac2c2b1fb17c0e0.tar.gz lwn-2b3bd32ea3a22ea2d5e591da4ac2c2b1fb17c0e0.zip |
LoongArch: Provide kernel fpu functions
Provide kernel_fpu_begin()/kernel_fpu_end() to allow the kernel itself
to use fpu. They can be used by some other kernel components, e.g., the
AMDGPU graphic driver for DCN.
Reported-by: WANG Xuerui <kernel@xen0n.name>
Tested-by: WANG Xuerui <kernel@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/kernel/Makefile')
-rw-r--r-- | arch/loongarch/kernel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/kernel/Makefile b/arch/loongarch/kernel/Makefile index 78d4e3384305..9a72d91cd104 100644 --- a/arch/loongarch/kernel/Makefile +++ b/arch/loongarch/kernel/Makefile @@ -13,7 +13,7 @@ obj-y += head.o cpu-probe.o cacheinfo.o env.o setup.o entry.o genex.o \ obj-$(CONFIG_ACPI) += acpi.o obj-$(CONFIG_EFI) += efi.o -obj-$(CONFIG_CPU_HAS_FPU) += fpu.o +obj-$(CONFIG_CPU_HAS_FPU) += fpu.o kfpu.o obj-$(CONFIG_ARCH_STRICT_ALIGN) += unaligned.o |