git: 59ad98cc3f55 - stable/13 - arm: Make machine/reg.h self-contained

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 06 Dec 2021 15:56:25 UTC
The branch stable/13 has been updated by imp:

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

commit 59ad98cc3f55dbf4f202f4ab1189f16ee8ca2042
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-24 00:49:56 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-12-06 15:55:56 +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
    
    (cherry picked from commit b57e0aa4ef4319334df8018bc60fd28a84b074cc)
---
 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 ab70ae128d39..494052f64732 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;