From b0efca5b510e1f9e8535d3d18501a80a381c9661 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 20 Mar 2014 10:00:28 +0100 Subject: score: _Debug_Is_thread_dispatching_allowed() Do not check ISR level in _Debug_Is_thread_dispatching_allowed(). --- cpukit/score/src/debugisthreaddispatchingallowed.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpukit/score/src/debugisthreaddispatchingallowed.c b/cpukit/score/src/debugisthreaddispatchingallowed.c index 0bc4b4a271..523fd11dbc 100644 --- a/cpukit/score/src/debugisthreaddispatchingallowed.c +++ b/cpukit/score/src/debugisthreaddispatchingallowed.c @@ -17,7 +17,6 @@ #endif #include -#include #include #if defined( RTEMS_DEBUG ) @@ -32,6 +31,6 @@ dispatch_allowed = per_cpu->thread_dispatch_disable_level == 0; _ISR_Enable_without_giant( level ); - return dispatch_allowed && _ISR_Get_level() == 0; + return dispatch_allowed; } #endif -- cgit v1.2.3