summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-18 08:06:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 07:50:37 +0200
commit247131632173158cb2668d4e5c7464951b668067 (patch)
tree4242eb55b8a0721d94b01357195ef9441f561d18 /cpukit/rtems
parentscore: Rename _ISR_Disable_without_giant() (diff)
downloadrtems-247131632173158cb2668d4e5c7464951b668067.tar.bz2
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.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/include/rtems/rtems/intr.h4
-rw-r--r--cpukit/rtems/src/intrbody.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/intr.h b/cpukit/rtems/include/rtems/rtems/intr.h
index ebf7a58f0c..4142230b31 100644
--- a/cpukit/rtems/include/rtems/rtems/intr.h
+++ b/cpukit/rtems/include/rtems/rtems/intr.h
@@ -100,7 +100,7 @@ rtems_status_code rtems_interrupt_catch(
* rtems_interrupt_local_disable() is available on all configurations.
*/
#define rtems_interrupt_disable( _isr_cookie ) \
- _ISR_Disable(_isr_cookie)
+ _ISR_Local_disable(_isr_cookie)
/**
* @brief Enable RTEMS Interrupt
@@ -111,7 +111,7 @@ rtems_status_code rtems_interrupt_catch(
* rtems_interrupt_local_enable() is available on all configurations.
*/
#define rtems_interrupt_enable( _isr_cookie ) \
- _ISR_Enable(_isr_cookie)
+ _ISR_Local_enable(_isr_cookie)
/**
* @brief Flash RTEMS Interrupt
diff --git a/cpukit/rtems/src/intrbody.c b/cpukit/rtems/src/intrbody.c
index a82dc101e6..abee60d5b7 100644
--- a/cpukit/rtems/src/intrbody.c
+++ b/cpukit/rtems/src/intrbody.c
@@ -47,7 +47,7 @@ rtems_interrupt_level rtems_interrupt_disable( void )
{
rtems_interrupt_level previous_level;
- _ISR_Disable( previous_level );
+ _ISR_Local_disable( previous_level );
return previous_level;
}
@@ -56,7 +56,7 @@ void rtems_interrupt_enable(
rtems_interrupt_level previous_level
)
{
- _ISR_Enable( previous_level );
+ _ISR_Local_enable( previous_level );
}
void rtems_interrupt_flash(