diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2019-02-01 11:12:39 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-02-05 16:57:06 -0600 |
commit | 79fc8b675dfdca19c0f271d938c16dc2aa8911e4 (patch) | |
tree | 96ecce00de897f4ce4fb5b6ac4f01f3e3ee88fe4 /src | |
parent | 318a3c71f79d1fb0b7157d430480f77f306934e8 (diff) | |
download | talos-hostboot-79fc8b675dfdca19c0f271d938c16dc2aa8911e4.tar.gz talos-hostboot-79fc8b675dfdca19c0f271d938c16dc2aa8911e4.zip |
Use singleton instance of TargetService in mmio.C
There is a bug in the function that looks up the targeting service.
It is calling the constructor when it should just call the function
that looks up the singleton object.
Change-Id: I5ea91736e85c84927e3e0fe74352f61326e42940
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71209
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/mmio/mmio.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/mmio/mmio.C b/src/usr/mmio/mmio.C index b6dcebbc2..e233c5a85 100644 --- a/src/usr/mmio/mmio.C +++ b/src/usr/mmio/mmio.C @@ -739,7 +739,7 @@ TARGETING::TargetHandle_t getParentProc(TARGETING::TargetHandle_t i_target) TARGETING::PredicateCTM pred(TARGETING::CLASS_CHIP, TARGETING::TYPE_PROC); - TARGETING::TargetService().getAssociated( + TARGETING::targetService().getAssociated( list, i_target, TARGETING::TargetService::PARENT_BY_AFFINITY, |