diff --git a/src/rm_services.c b/src/rm_services.c
index 7e42870d817879d72127040048d652f93c5ae497..117d52ec340cf20f14e12b3cb03a5c6aedc261b3 100644 (file)
--- a/src/rm_services.c
+++ b/src/rm_services.c
/* Prevent another component using the same instance from wiping out the current
* service request */
- key = Rm_osalLocalCsEnter();
+ key = Rm_osalCsEnter();
/* Make sure serviceType is valid and that a callback function has been provided */
if ((serviceRequest->type < Rm_service_FIRST) ||
(serviceRequest->type > Rm_service_LAST))
{
serviceResponse->serviceResult = RM_SERVICE_ERROR_INVALID_SERVICE_TYPE;
- Rm_osalLocalCsExit(key);
+ Rm_osalCsExit(key);
return;
}
else if (serviceRequest->callback.serviceCallback == NULL)
* through the callback function provided by the component. Return an error
* if the component does not provide a callback function. */
serviceResponse->serviceResult = RM_SERVICE_ERROR_CALLBACK_NOT_PROVIDED;
- Rm_osalLocalCsExit(key);
+ Rm_osalCsExit(key);
return;
}
}
}
- Rm_osalLocalCsExit(key);
+ Rm_osalCsExit(key);
return;
}