diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-04 09:29:38 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-19 12:00:44 +0200 |
commit | 2b0bbc4a654ecea922abc58b00e6bb8763aa4519 (patch) | |
tree | 35d383d309b8434a1fc197f15632e4693eab3773 /cpukit/libcsupport | |
parent | Filesystem: Use lock for deferred release (diff) | |
download | rtems-2b0bbc4a654ecea922abc58b00e6bb8763aa4519.tar.bz2 |
libcsupport: Avoid Giant lock in rtems_verror()
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c index 81ddae251a..44cc1ee688 100644 --- a/cpukit/libcsupport/src/error.c +++ b/cpukit/libcsupport/src/error.c @@ -36,7 +36,7 @@ int rtems_verror( if (error_flag & RTEMS_ERROR_PANIC) { if (rtems_panic_in_progress++) - _Thread_Disable_dispatch(); /* disable task switches */ + _Thread_Dispatch_disable(); /* disable task switches */ /* don't aggravate things */ if (rtems_panic_in_progress > 2) |