|
@@ -1024,7 +1024,8 @@ xpc_make_first_contact_uv(struct xpc_partition *part)
|
|
|
xpc_send_activate_IRQ_part_uv(part, &msg, sizeof(msg),
|
|
|
XPC_ACTIVATE_MQ_MSG_SYNC_ACT_STATE_UV);
|
|
|
|
|
|
- while (part->sn.uv.remote_act_state != XPC_P_AS_ACTIVATING) {
|
|
|
+ while (!((part->sn.uv.remote_act_state == XPC_P_AS_ACTIVATING) ||
|
|
|
+ (part->sn.uv.remote_act_state == XPC_P_AS_ACTIVE))) {
|
|
|
|
|
|
dev_dbg(xpc_part, "waiting to make first contact with "
|
|
|
"partition %d\n", XPC_PARTID(part));
|