Commit 2fb58873 authored by Claes Sjofors's avatar Claes Sjofors

sevhistmon max thread test added

parent 72c95116
...@@ -196,7 +196,8 @@ int rt_sevhistmon::init_objects() ...@@ -196,7 +196,8 @@ int rt_sevhistmon::init_objects()
break; break;
} }
} }
m_confp->ThreadObjects[thread_cnt++] = hs_oid; if ( thread_cnt < (int)(sizeof(m_confp->ThreadObjects)/sizeof(m_confp->ThreadObjects[0])))
m_confp->ThreadObjects[thread_cnt++] = hs_oid;
if ( !found) { if ( !found) {
pwr_tOName oname; pwr_tOName oname;
...@@ -720,6 +721,7 @@ int rt_sevhistmon::send_data() ...@@ -720,6 +721,7 @@ int rt_sevhistmon::send_data()
tgt.nid = m_hs[i].nid; tgt.nid = m_hs[i].nid;
tgt.qix = sev_eProcSevServer; tgt.qix = sev_eProcSevServer;
put.size = (char *)dp - (char *)msg;
put.reply.nid = m_nodes[0].nid; put.reply.nid = m_nodes[0].nid;
put.reply.qix = sev_eProcSevClient; put.reply.qix = sev_eProcSevClient;
put.type.b = (qcom_eBtype) sev_cMsgClass; put.type.b = (qcom_eBtype) sev_cMsgClass;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment