[Skiboot] [PATCH 04/15] include: Fix u8 type in chip.h

Claudio Carvalho cclaudio at linux.vnet.ibm.com
Thu Aug 11 15:23:46 AEST 2016


u8 is defined in ccan/short_types/short_types.h, but chip.h doesn't
include it.

This just replaces u8 by uint8_t in chip.h.

Signed-off-by: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>
---
 include/chip.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/chip.h b/include/chip.h
index f62c964..11c2918 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -186,11 +186,11 @@ struct proc_chip {
 	uint64_t		homer_size;
 	uint64_t		occ_common_base;
 	uint64_t		occ_common_size;
-	u8			throttle;
+	uint8_t			throttle;
 
 	/* Must hold capi_lock to change */
-	u8			capp_phb3_attached_mask;
-	u8			capp_ucode_loaded;
+	uint8_t			capp_phb3_attached_mask;
+	uint8_t			capp_ucode_loaded;
 
 	/* Used by hw/centaur.c */
 	struct centaur_chip	*centaurs;
-- 
1.9.1



More information about the Skiboot mailing list