Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2021 04:22:13 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b57e0aa4ef43 - main - arm: Make machine/reg.h self-contained
Message-ID:  <202111240422.1AO4MDlc049590@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=b57e0aa4ef4319334df8018bc60fd28a84b074cc

commit b57e0aa4ef4319334df8018bc60fd28a84b074cc
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-24 00:49:56 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-11-24 04:21:17 +0000

    arm: Make machine/reg.h self-contained
    
    Allow inclusion of sys/reg.h w/o pre-requisites by making arm's machine/reg.h
    self-contained.
    
    Sponsored by:           Netflix
---
 sys/arm/include/reg.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys/arm/include/reg.h b/sys/arm/include/reg.h
index 8aee07c9b480..4dc954816881 100644
--- a/sys/arm/include/reg.h
+++ b/sys/arm/include/reg.h
@@ -3,6 +3,8 @@
 #ifndef MACHINE_REG_H
 #define MACHINE_REG_H
 
+#include <sys/_types.h>
+
 struct reg {
 	unsigned int r[13];
 	unsigned int r_sp;
@@ -12,9 +14,9 @@ struct reg {
 };
 
 struct fp_extended_precision {
-	u_int32_t fp_exponent;
-	u_int32_t fp_mantissa_hi;
-	u_int32_t fp_mantissa_lo;
+	__uint32_t fp_exponent;
+	__uint32_t fp_mantissa_hi;
+	__uint32_t fp_mantissa_lo;
 };
 
 typedef struct fp_extended_precision fp_reg_t;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111240422.1AO4MDlc049590>