diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-17 16:14:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-18 09:58:58 +0200 |
commit | e7ce41bb6df5d1b52fa1bb6555d68eb5a5c8b362 (patch) | |
tree | fc11d5addffe2e09b862631e5ce2ede73dfd1f54 /cpukit/libcsupport/src/realloc.c | |
parent | rtems, posix: Use _Thread_Get_executing() (diff) | |
download | rtems-e7ce41bb6df5d1b52fa1bb6555d68eb5a5c8b362.tar.bz2 |
libcsupport: Do not use _ISR_Nest_level
The _Thread_Dispatch_is_enabled() is false if _ISR_Nest_level is not
equal to zero.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/realloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/realloc.c b/cpukit/libcsupport/src/realloc.c index a831cae110..5c7992d8a7 100644 --- a/cpukit/libcsupport/src/realloc.c +++ b/cpukit/libcsupport/src/realloc.c @@ -40,9 +40,6 @@ void *realloc( if (_System_state_Is_up(_System_state_Get())) { if (!_Thread_Dispatch_is_enabled()) return (void *) 0; - - if (_ISR_Nest_level > 0) - return (void *) 0; } /* |