summaryrefslogtreecommitdiffstats
path: root/include/chip.h
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2016-08-11 02:23:46 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-09-14 18:55:50 +1000
commit633c66efa9b7e6778a1cfcbf9fbc9de8c9dc3d60 (patch)
tree547c0665bb851ba96556b924ffdf8f8c9c396f41 /include/chip.h
parent5fae412d26fc53aa6c5f4c1a3ff4d089e1f2108b (diff)
downloadblackbird-skiboot-633c66efa9b7e6778a1cfcbf9fbc9de8c9dc3d60.tar.gz
blackbird-skiboot-633c66efa9b7e6778a1cfcbf9fbc9de8c9dc3d60.zip
include: Fix u8 type in chip.h
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@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r--include/chip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/chip.h b/include/chip.h
index 784faf86..396e41f2 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -183,11 +183,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;
OpenPOWER on IntegriCloud