summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/debugisthreaddispatchingallowed.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-18 08:03:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 07:50:34 +0200
commit4b04cb61552dbaa1a42a64e2f7b823708127e488 (patch)
tree700d7664a80736281f4d266413c4a020ff2a996c /cpukit/score/src/debugisthreaddispatchingallowed.c
parentscore: _Thread_Dispatch_increment_disable_level() (diff)
downloadrtems-4b04cb61552dbaa1a42a64e2f7b823708127e488.tar.bz2
score: Rename _ISR_Disable_without_giant()
Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555.
Diffstat (limited to 'cpukit/score/src/debugisthreaddispatchingallowed.c')
-rw-r--r--cpukit/score/src/debugisthreaddispatchingallowed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/debugisthreaddispatchingallowed.c b/cpukit/score/src/debugisthreaddispatchingallowed.c
index 0f1580c1fd..81ac8778ce 100644
--- a/cpukit/score/src/debugisthreaddispatchingallowed.c
+++ b/cpukit/score/src/debugisthreaddispatchingallowed.c
@@ -26,10 +26,10 @@
ISR_Level level;
Per_CPU_Control *cpu_self;
- _ISR_Disable_without_giant( level );
+ _ISR_Local_disable( level );
cpu_self = _Per_CPU_Get_snapshot();
dispatch_allowed = cpu_self->thread_dispatch_disable_level == 0;
- _ISR_Enable_without_giant( level );
+ _ISR_Local_enable( level );
return dispatch_allowed;
}