summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/attn/ipl/test/attnfakeipoll.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/attn/ipl/test/attnfakeipoll.C')
-rw-r--r--src/usr/diag/attn/ipl/test/attnfakeipoll.C20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/usr/diag/attn/ipl/test/attnfakeipoll.C b/src/usr/diag/attn/ipl/test/attnfakeipoll.C
index a05033d47..c04491ced 100644
--- a/src/usr/diag/attn/ipl/test/attnfakeipoll.C
+++ b/src/usr/diag/attn/ipl/test/attnfakeipoll.C
@@ -187,23 +187,11 @@ FakeIpoll::FakeIpoll(
iv_ipollbits(0),
iv_presenter(&i_presenter)
{
- if(i_type == HOST_ATTN)
- {
- // figure out what bits to monitor
- // in the nest gp1 register, if
- // this instance is monitoring
- // HOST attentions.
-
- GP1::forEach(0xffffffffffffffffull, &iv_gfirbits, &getMask);
- iv_address = GP1::address;
- }
+ GFIR::getAddress(i_type, iv_address);
+ GFIR::getCheckbits(i_type, iv_gfirbits);
- else
- {
- GFIR::getAddress(i_type, iv_address);
- GFIR::getCheckbits(i_type, iv_gfirbits);
- }
IPOLL::getCheckbits(i_type, iv_ipollbits);
}
-}
+
+} // end namespace
OpenPOWER on IntegriCloud