summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/Makefile
diff options
context:
space:
mode:
authorAlan Kao <alankao@andestech.com>2018-10-09 04:18:30 +0200
committerPalmer Dabbelt <palmer@sifive.com>2018-10-23 02:02:22 +0200
commite68ad867f77e1a839ad496ffcbd88b9c96769b5b (patch)
tree927c07682cae899cd635236d24252a52099b2f67 /arch/riscv/kernel/Makefile
parentLinux 4.19 (diff)
downloadlinux-e68ad867f77e1a839ad496ffcbd88b9c96769b5b.tar.xz
linux-e68ad867f77e1a839ad496ffcbd88b9c96769b5b.zip
Extract FPU context operations from entry.S
We move __fstate_save and __fstate_restore to a new source file, fpu.S. Signed-off-by: Alan Kao <alankao@andestech.com> Cc: Greentime Hu <greentime@andestech.com> Cc: Vincent Chen <vincentc@andestech.com> Cc: Zong Li <zong@andestech.com> Cc: Nick Hu <nickhu@andestech.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/kernel/Makefile')
-rw-r--r--arch/riscv/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kernel/Makefile b/arch/riscv/kernel/Makefile
index e1274fc03af4..bd433efd915e 100644
--- a/arch/riscv/kernel/Makefile
+++ b/arch/riscv/kernel/Makefile
@@ -13,6 +13,7 @@ extra-y += vmlinux.lds
obj-y += cpu.o
obj-y += cpufeature.o
obj-y += entry.o
+obj-y += fpu.o
obj-y += irq.o
obj-y += process.o
obj-y += ptrace.o