diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2019-08-08 17:29:41 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-08-19 12:07:13 +0100 |
commit | 135b03cb9defbd080b8834b30e3d45bed00c6137 (patch) | |
tree | a9f5fa665d05f3761e876a89fb3a4ade2208d40e /target/riscv/cpu.h | |
parent | 502700d0674919309a19bfd016ea0680c6b7747d (diff) |
target/riscv: rationalise softfloat includes
We should avoid including the whole of softfloat headers in cpu.h and
explicitly include it only where we will be calling softfloat
functions. We can use the -types.h and -helpers.h in cpu.h for the few
bits that are global.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'target/riscv/cpu.h')
-rw-r--r-- | target/riscv/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 0adb307f32..240b31e2eb 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -22,7 +22,7 @@ #include "qom/cpu.h" #include "exec/cpu-defs.h" -#include "fpu/softfloat.h" +#include "fpu/softfloat-types.h" #define TCG_GUEST_DEFAULT_MO 0 |