Пример #1
0
void acpi_ut_mutex_terminate(void)
{
	u32 i;

	ACPI_FUNCTION_TRACE(ut_mutex_terminate);

	/* Delete each predefined mutex object */

	for (i = 0; i < ACPI_NUM_MUTEX; i++) {
		acpi_ut_delete_mutex(i);
	}

	acpi_os_delete_mutex(acpi_gbl_osi_mutex);

	/* Delete the spinlocks */

	acpi_os_delete_lock(acpi_gbl_gpe_lock);
	acpi_os_delete_raw_lock(acpi_gbl_hardware_lock);
	acpi_os_delete_lock(acpi_gbl_reference_count_lock);

	/* Delete the reader/writer lock */

	acpi_ut_delete_rw_lock(&acpi_gbl_namespace_rw_lock);
	return_VOID;
}
Пример #2
0
void acpi_ut_mutex_terminate(void)
{
	u32 i;

	ACPI_FUNCTION_TRACE("ut_mutex_terminate");

	/*
	 * Delete each predefined mutex object
	 */
	for (i = 0; i < NUM_MUTEX; i++) {
		(void)acpi_ut_delete_mutex(i);
	}

	acpi_os_delete_lock(acpi_gbl_gpe_lock);
	return_VOID;
}
Пример #3
0
void acpi_ut_mutex_terminate(void)
{
	u32 i;

	ACPI_FUNCTION_TRACE(ut_mutex_terminate);

	/*
	 * Delete each predefined mutex object
	 */
	for (i = 0; i < ACPI_NUM_MUTEX; i++) {
		(void)acpi_ut_delete_mutex(i);
	}

	/* Delete the spinlocks */

	acpi_os_delete_lock(acpi_gbl_gpe_lock);
//	acpi_os_delete_lock(acpi_gbl_hardware_lock);
	return_VOID;
}
Пример #4
0
void
acpi_ut_mutex_terminate (
	void)
{
	u32                     i;


	FUNCTION_TRACE ("Ut_mutex_terminate");


	/*
	 * Delete each predefined mutex object
	 */
	for (i = 0; i < NUM_MTX; i++) {
		acpi_ut_delete_mutex (i);
	}

	return_VOID;
}