svn commit: r295564 - head/sys/riscv/include

Ruslan Bukin br at FreeBSD.org
Fri Feb 12 14:29:15 UTC 2016


Author: br
Date: Fri Feb 12 14:29:14 2016
New Revision: 295564
URL: https://svnweb.freebsd.org/changeset/base/295564

Log:
  Use __uint64_t type for floating point registers
  as compiler don't know about __uint128_t yet.
  
  Discussed with:	theraven, kib

Modified:
  head/sys/riscv/include/ucontext.h

Modified: head/sys/riscv/include/ucontext.h
==============================================================================
--- head/sys/riscv/include/ucontext.h	Fri Feb 12 12:38:04 2016	(r295563)
+++ head/sys/riscv/include/ucontext.h	Fri Feb 12 14:29:14 2016	(r295564)
@@ -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;


More information about the svn-src-head mailing list