aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2016-02-12 14:29:14 +0000
committerRuslan Bukin <br@FreeBSD.org>2016-02-12 14:29:14 +0000
commitf3d389ee9e1e0bb9cd9942c79cec094a06ed0dc4 (patch)
tree2e56972225740c45e977f3648171e7f9063a0742 /sys/riscv
parent770fd1c976d93312b58c2017cf51685ea8946b5a (diff)
downloadsrc-f3d389ee9e1e0bb9cd9942c79cec094a06ed0dc4.tar.gz
src-f3d389ee9e1e0bb9cd9942c79cec094a06ed0dc4.zip
Use __uint64_t type for floating point registers
as compiler don't know about __uint128_t yet. Discussed with: theraven, kib
Notes
Notes: svn path=/head/; revision=295564
Diffstat (limited to 'sys/riscv')
-rw-r--r--sys/riscv/include/ucontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/riscv/include/ucontext.h b/sys/riscv/include/ucontext.h
index 4fbf346af4b1..20b593c493ee 100644
--- a/sys/riscv/include/ucontext.h
+++ b/sys/riscv/include/ucontext.h
@@ -50,7 +50,7 @@ struct gpregs {
};
struct fpregs {
- __uint128_t fp_x[32];
+ __uint64_t fp_x[64] __aligned(16);
__uint64_t fp_fcsr;
int fp_flags;
int pad;