Skip to content

Commit

Permalink
PRD: Add iv_chip to TdEntry equality operator
Browse files Browse the repository at this point in the history
Change-Id: Ib93f427f352d0a4d418732d55adf78f47dbf85b0
CQ: SW394324
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42564
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42633
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Jun 30, 2017
1 parent 3457971 commit 20d7e97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/usr/diag/prdf/plat/mem/prdfMemTdQueue.H
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ class TdEntry
bool operator==( const TdEntry & i_e ) const
{
return ( this->iv_tdType == i_e.iv_tdType &&
this->getKey() == i_e.getKey() );
this->getKey() == i_e.getKey() &&
this->iv_chip == i_e.iv_chip );
}

/**
Expand Down Expand Up @@ -137,12 +138,12 @@ class TdEntry

protected: // instance variables

const TdType iv_tdType; ///< The event type (see enum TdType).
Phase iv_phase = TD_PHASE_0; ///< The event phase (see enum Phase).
const TdType iv_tdType; ///< The event type (see enum TdType).
Phase iv_phase = TD_PHASE_0; ///< The event phase (see enum Phase).
ExtensibleChip * const iv_chip; ///< The chip in which this event occurred.

// These are not used for comparisons, but used by all procedures and also
// used for displaying FFDC in the TD controller.
ExtensibleChip * const iv_chip; ///< The chip in which this event occurred.
const MemRank iv_rank; ///< The rank in which this event occurred.

};
Expand Down

0 comments on commit 20d7e97

Please sign in to comment.