summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-08-09 13:05:57 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-08-09 13:43:44 -0500
commit16ade72e2ee635054990103dcd66013533da2360 (patch)
tree17cc43ebf1978f34f43ad30d3123a8eaa0736ee4
parent11257ecc65544f5a19fece9050db7bcf1431240c (diff)
downloadtalos-hostboot-16ade72e2ee635054990103dcd66013533da2360.tar.gz
talos-hostboot-16ade72e2ee635054990103dcd66013533da2360.zip
Task structure had wrong enum size.
hb-Ps debug tool gave wrong task state because the removal of compile option -fshort-enums caused the enum to grow and be in the wrong location for the debug tool to find. Change-Id: Ib0bcec1cddc648b3cee649be7e5ad258b4142bc3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1507 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r--src/include/kernel/task.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/kernel/task.H b/src/include/kernel/task.H
index f9ceab994..d41172bd9 100644
--- a/src/include/kernel/task.H
+++ b/src/include/kernel/task.H
@@ -103,7 +103,7 @@ struct task_t
uint64_t affinity_pinned;
/** State of task */
- task_states state;
+ task_states state:8;
/** Extra info about the state.
* This is used when the task is blocked to give a pointer to the
* object the task is blocked on. */
OpenPOWER on IntegriCloud