diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2013-04-09 15:49:37 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-17 15:34:49 -0500 |
commit | 198ccaf1e562c281684e47a2209b7ce29c9c71e6 (patch) | |
tree | f75d9769bafb3efb814d0149a7971261ab450dab /src/usr/intr | |
parent | 06d989d45066a28d149f15a45301346101eb1006 (diff) | |
download | talos-hostboot-198ccaf1e562c281684e47a2209b7ce29c9c71e6.tar.gz talos-hostboot-198ccaf1e562c281684e47a2209b7ce29c9c71e6.zip |
Fix strict-aliasing violations.
Change-Id: I5f3feae4fb62ed82b52e996d4954d1c638a243b3
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4036
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/intr')
-rw-r--r-- | src/usr/intr/intrrp.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/intr/intrrp.H b/src/usr/intr/intrrp.H index b8c2e9d82..b6896ebbc 100644 --- a/src/usr/intr/intrrp.H +++ b/src/usr/intr/intrrp.H @@ -61,7 +61,7 @@ namespace INTR uint32_t threadId:3; //!< Thread number (0-7) } PACKED; }; - PIR_t(uint32_t i_word) : word(i_word) {} + PIR_t(uint32_t i_word = 0) : word(i_word) {} PIR_t operator= (uint32_t i_word) { @@ -173,7 +173,7 @@ namespace INTR PE_IRSN_TX = 4, // downstream enable }; - enum INTR_ROUTING_t + enum INTR_ROUTING_t { INTR_UPSTREAM, INTR_DOWNSTREAM, |