Allow to disable FPU support
authorAlan Kao <alankao@andestech.com>
Tue, 9 Oct 2018 02:18:33 +0000 (10:18 +0800)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 23 Oct 2018 00:02:23 +0000 (17:02 -0700)
commit9671f7061433e2c58b9894093eada1898595b85d
tree29630911728d35d4aac5b6dd08c2b96947a70d01
parente8be5302330281bd9f77834600f63e8cc4560d3d
Allow to disable FPU support

FPU codes have been separated from common part in previous patches.
This patch add the CONFIG_FPU option and some stubs, so that a no-FPU
configuration is allowed.

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>
arch/riscv/Kconfig
arch/riscv/Makefile
arch/riscv/include/asm/switch_to.h
arch/riscv/kernel/Makefile
arch/riscv/kernel/process.c
arch/riscv/kernel/signal.c