summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/Makefile
diff options
context:
space:
mode:
authorAlan Kao <alankao@andestech.com>2018-10-09 10:18:30 +0800
committerPalmer Dabbelt <palmer@sifive.com>2018-10-22 17:02:22 -0700
commite68ad867f77e1a839ad496ffcbd88b9c96769b5b (patch)
tree927c07682cae899cd635236d24252a52099b2f67 /arch/riscv/kernel/Makefile
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d (diff)
downloadlinux-e68ad867f77e1a839ad496ffcbd88b9c96769b5b.tar.gz
linux-e68ad867f77e1a839ad496ffcbd88b9c96769b5b.tar.bz2
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