summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/diag/attn/common/attnsvc_common.C4
-rw-r--r--src/usr/diag/attn/runtime/attnsvc.C8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/diag/attn/common/attnsvc_common.C b/src/usr/diag/attn/common/attnsvc_common.C
index 916e6123c..c56b8a888 100644
--- a/src/usr/diag/attn/common/attnsvc_common.C
+++ b/src/usr/diag/attn/common/attnsvc_common.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014 */
+/* Contributors Listed Below - COPYRIGHT 2014,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -170,6 +170,7 @@ errlHndl_t ServiceCommon::configureInterrupts(
break;
}
+ #ifndef __HOSTBOOT_RUNTIME
// enable attentions in ipoll mask
mask = HostMask::nonHost();
@@ -186,6 +187,7 @@ errlHndl_t ServiceCommon::configureInterrupts(
{
break;
}
+ #endif //__HOSTBOOT_RUNTIME
++it;
}
diff --git a/src/usr/diag/attn/runtime/attnsvc.C b/src/usr/diag/attn/runtime/attnsvc.C
index d0552bfed..f1e748f4d 100644
--- a/src/usr/diag/attn/runtime/attnsvc.C
+++ b/src/usr/diag/attn/runtime/attnsvc.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014 */
+/* Contributors Listed Below - COPYRIGHT 2014,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -47,12 +47,10 @@ namespace ATTN
errlHndl_t Service::disableAttns()
{
ATTN_SLOW("Service::disableAttns() enter");
-
- errlHndl_t err = configureInterrupts(DOWN);
-
+ // During runtime do nothing.
ATTN_SLOW("Service::disableAttns() exit");
- return err;
+ return NULL;
}
errlHndl_t Service::enableAttns()
OpenPOWER on IntegriCloud