diff options
author | Brian Horton <brianh@linux.ibm.com> | 2013-09-16 17:44:14 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-09-18 15:47:39 -0500 |
commit | d61d54327fea0233ef3d250e8e3a99f78302d350 (patch) | |
tree | 1dd083ccaa40d2f693537c23f7f1846b254d0124 /src | |
parent | 252d16ee2f6246933f6422eef48546e6b7c48d25 (diff) | |
download | talos-hostboot-d61d54327fea0233ef3d250e8e3a99f78302d350.tar.gz talos-hostboot-d61d54327fea0233ef3d250e8e3a99f78302d350.zip |
hwas/gard: change getAssociated calls to improve performance.
Change-Id: I81ef0f5a1518f0c5b9a8c8c5837d1e68f801883e
RTC: 85338
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6190
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/hwas/common/deconfigGard.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C index 64198d5bb..f72055e90 100644 --- a/src/usr/hwas/common/deconfigGard.C +++ b/src/usr/hwas/common/deconfigGard.C @@ -360,7 +360,7 @@ errlHndl_t DeconfigGard::processFieldCoreOverride() TargetHandleList pNodeList; targetService().getAssociated(pNodeList, pSys, - TargetService::CHILD, TargetService::ALL, + TargetService::CHILD, TargetService::IMMEDIATE, &nodeCheckExpr); // sort the list by ATTR_HUID to ensure that we @@ -728,7 +728,7 @@ void findMcsInGroup(const Target *i_startMcs, TargetHandleList &o_McsInGroup) PredicatePostfixExpr checkExpr; checkExpr.push(&predMcs).push(&isFunctional).And(); targetService().getAssociated(o_McsInGroup, l_proc, - TargetService::CHILD_BY_AFFINITY, TargetService::ALL, + TargetService::CHILD_BY_AFFINITY, TargetService::IMMEDIATE, &checkExpr); for (TargetHandleList::iterator pMcs_it = o_McsInGroup.begin(); |