diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2014-04-01 13:39:07 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-04-03 15:06:30 -0500 |
commit | 31998dac459abd6e49857697b07cbce8af43cadf (patch) | |
tree | cc254459f990f8a643f1bb6739304ea21287df47 /src/include/usr/hwas/common | |
parent | cadf4e34157e599e1352de1d93ec406f3a2759a9 (diff) | |
download | talos-hostboot-31998dac459abd6e49857697b07cbce8af43cadf.tar.gz talos-hostboot-31998dac459abd6e49857697b07cbce8af43cadf.zip |
Changed _invokeDeconfigureAssocProc to push an instance directly
Before invoke declared new instances causing too much
memory alloc work.
Also short circuited "found chip" loop
Change-Id: I60c23e8beff72fca8174808aff3b9bb70a5aa5b6
RTC: 86191
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10034
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.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/include/usr/hwas/common')
-rw-r--r-- | src/include/usr/hwas/common/deconfigGard.H | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index 59b38f0f0..82519b6c1 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -393,6 +393,10 @@ private: bool iv_XDeconfigured[NUM_X_BUSES]; }; + // Structure populated in _invokeDeconfigureAssocProc() for use in + // _deconfigureAssocProc() + typedef std::vector<ProcInfo> ProcInfoVector; + /** * @brief Deconfigures Targets by association. * @@ -476,8 +480,7 @@ private: * @return errlHndl_t. Error log handle. * */ - static errlHndl_t _deconfigureAssocProc( - std::vector<ProcInfo *> &io_procInfo); + static errlHndl_t _deconfigureAssocProc(ProcInfoVector &io_procInfo); /** * @brief Performs SMP node balancing @@ -497,7 +500,7 @@ private: * @return errlHndl_t. Error log handle. * */ - static errlHndl_t _symmetryValidation(std::vector<ProcInfo *> &io_procInfo); + static errlHndl_t _symmetryValidation(ProcInfoVector &io_procInfo); public: |