acpi_os_acquire_lock (acpi_gbl_gpe_lock, ACPI_NOT_ISR); 
flags = acpi_os_acquire_lock (acpi_gbl_gpe_lock); 
acpi_ev_delete_gpe_block (	struct acpi_gpe_block_info      *gpe_block){	acpi_status                     status;	ACPI_FUNCTION_TRACE ("ev_install_gpe_block");	status = acpi_ut_acquire_mutex (ACPI_MTX_EVENTS);	if (ACPI_FAILURE (status)) {		return_ACPI_STATUS (status);	}	/* Disable all GPEs in this block */	status = acpi_hw_disable_gpe_block (gpe_block->xrupt_block, gpe_block);	if (!gpe_block->previous && !gpe_block->next) {		/* This is the last gpe_block on this interrupt */		status = acpi_ev_delete_gpe_xrupt (gpe_block->xrupt_block);		if (ACPI_FAILURE (status)) {			goto unlock_and_exit;		}	}	else {		/* Remove the block on this interrupt with lock */		acpi_os_acquire_lock (acpi_gbl_gpe_lock, ACPI_NOT_ISR);		if (gpe_block->previous) {			gpe_block->previous->next = gpe_block->next;		}		else {			gpe_block->xrupt_block->gpe_block_list_head = gpe_block->next;		}		if (gpe_block->next) {			gpe_block->next->previous = gpe_block->previous;		}		acpi_os_release_lock (acpi_gbl_gpe_lock, ACPI_NOT_ISR);	}	/* Free the gpe_block */	ACPI_MEM_FREE (gpe_block->register_info);	ACPI_MEM_FREE (gpe_block->event_info);	ACPI_MEM_FREE (gpe_block);unlock_and_exit:	status = acpi_ut_release_mutex (ACPI_MTX_EVENTS);	return_ACPI_STATUS (status);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/73459f73e5d1602c59ebec114fc45185521353c1/evgpeblk.c/clean/drivers/acpi/events/evgpeblk.c