summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-07-11 19:40:51 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2014-07-11 19:56:57 -0500
commit2d5e027994238b824314dd4522efdb7c79107758 (patch)
treec25693911f313f9af39dc13c476afdc1d1df1eb7 /src
parentd9b258fe5a64c5441c7944ffb4da874a3bf970dc (diff)
downloadtalos-hostboot-2d5e027994238b824314dd4522efdb7c79107758.tar.gz
talos-hostboot-2d5e027994238b824314dd4522efdb7c79107758.zip
Add missing minus sign to errno check in slave core activate
Change-Id: I63f0719a5695585d2525afcc3b221581032f35c1 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12179 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/hwpf/hwp/core_activate/core_activate.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/hwpf/hwp/core_activate/core_activate.C b/src/usr/hwpf/hwp/core_activate/core_activate.C
index f728954fc..05575ac57 100644
--- a/src/usr/hwpf/hwp/core_activate/core_activate.C
+++ b/src/usr/hwpf/hwp/core_activate/core_activate.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -382,7 +384,7 @@ void* call_host_activate_slave_cores( void *io_pArgs )
int rc = cpu_start_core(pir,en_threads);
// Handle time out error
- if (ETIME == rc)
+ if (-ETIME == rc)
{
TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
"call_host_activate_slave_cores: "
OpenPOWER on IntegriCloud