summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/isrlock.h
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/score/include/rtems/score/isrlock.h
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 '')
-rw-r--r--cpukit/score/include/rtems/score/isrlock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/score/isrlock.h b/cpukit/score/include/rtems/score/isrlock.h
index 2af75c94cd..3843fd6454 100644
--- a/cpukit/score/include/rtems/score/isrlock.h
+++ b/cpukit/score/include/rtems/score/isrlock.h
@@ -203,7 +203,7 @@ typedef struct {
)
#else
#define _ISR_lock_ISR_disable_and_acquire( _lock, _context ) \
- _ISR_Disable( ( _context )->isr_level )
+ _ISR_Local_disable( ( _context )->isr_level )
#endif
/**
@@ -228,7 +228,7 @@ typedef struct {
)
#else
#define _ISR_lock_Release_and_ISR_enable( _lock, _context ) \
- _ISR_Enable( ( _context )->isr_level )
+ _ISR_Local_enable( ( _context )->isr_level )
#endif
/**
@@ -357,7 +357,7 @@ typedef struct {
#else
#define _ISR_lock_ISR_disable( _context ) \
do { \
- _ISR_Disable( ( _context )->isr_level ); \
+ _ISR_Local_disable( ( _context )->isr_level ); \
_ISR_lock_ISR_disable_profile( _context ) \
} while ( 0 )
#endif
@@ -377,7 +377,7 @@ typedef struct {
_ISR_Local_enable( ( _context )->Lock_context.isr_level )
#else
#define _ISR_lock_ISR_enable( _context ) \
- _ISR_Enable( ( _context )->isr_level )
+ _ISR_Local_enable( ( _context )->isr_level )
#endif
/** @} */