[rtems commit] libcsupport: Avoid Giant lock in rtems_verror()

Sebastian Huber sebh at rtems.org
Wed May 20 07:12:03 UTC 2015


Module:    rtems
Branch:    master
Commit:    2b0bbc4a654ecea922abc58b00e6bb8763aa4519
Changeset: http://git.rtems.org/rtems/commit/?id=2b0bbc4a654ecea922abc58b00e6bb8763aa4519

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon May  4 09:29:38 2015 +0200

libcsupport: Avoid Giant lock in rtems_verror()

---

 cpukit/libcsupport/src/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c
index 81ddae2..44cc1ee 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)



More information about the vc mailing list