From 2b0bbc4a654ecea922abc58b00e6bb8763aa4519 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 4 May 2015 09:29:38 +0200 Subject: [PATCH] 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 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)