libcsupport: Avoid Giant lock in rtems_verror()

This commit is contained in:
Sebastian Huber
2015-05-04 09:29:38 +02:00
parent c07c85f4f2
commit 2b0bbc4a65

View File

@@ -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)