[PATCH 13/45] libcsupport: Avoid Giant lock in rtems_verror()
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri May 15 11:41:13 UTC 2015
---
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)
--
1.8.4.5
More information about the devel
mailing list