From 247131632173158cb2668d4e5c7464951b668067 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 18 May 2016 08:06:54 +0200 Subject: score: Rename _ISR_Disable() and _ISR_Enable() Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555. --- c/src/libchip/ide/ata.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/src/libchip/ide/ata.c') diff --git a/c/src/libchip/ide/ata.c b/c/src/libchip/ide/ata.c index 2014f8ef43..31af5dfd37 100644 --- a/c/src/libchip/ide/ata.c +++ b/c/src/libchip/ide/ata.c @@ -387,9 +387,9 @@ ata_process_request(rtems_device_minor_number ctrl_minor) return; /* get first request in the controller's queue */ - _ISR_Disable(level); + _ISR_Local_disable(level); areq = (ata_req_t *)rtems_chain_first(&ata_ide_ctrls[ctrl_minor].reqs); - _ISR_Enable(level); + _ISR_Local_enable(level); #if 0 /* get ATA device identifier (0 or 1) */ @@ -831,9 +831,9 @@ ata_queue_task(rtems_task_argument arg) rtems_ata_lock(); /* get current request to the controller */ - _ISR_Disable(level); + _ISR_Local_disable(level); areq = (ata_req_t *)rtems_chain_first(&ata_ide_ctrls[ctrl_minor].reqs); - _ISR_Enable(level); + _ISR_Local_enable(level); switch(msg.type) { -- cgit v1.2.3