[rtems commit] libmisc: Fix swapped parameters and enable floating point usage.
Joel Sherrill
joel at rtems.org
Wed Jan 23 16:33:33 UTC 2019
Module: rtems
Branch: master
Commit: afd50b3a62881ddbf5b950af4ee17e80e6646f3e
Changeset: http://git.rtems.org/rtems/commit/?id=afd50b3a62881ddbf5b950af4ee17e80e6646f3e
Author: Maksim E. Kozlov <maksim.e.kozlov at gmail.com>
Date: Wed Jan 23 15:17:44 2019 +0300
libmisc: Fix swapped parameters and enable floating point usage.
---
cpukit/libmisc/cpuuse/cpuusagetop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/cpuuse/cpuusagetop.c
index 8e0063b..c4bfa70 100644
--- a/cpukit/libmisc/cpuuse/cpuusagetop.c
+++ b/cpukit/libmisc/cpuuse/cpuusagetop.c
@@ -530,8 +530,8 @@ void rtems_cpu_usage_top_with_plugin(
name = rtems_build_name('C', 'P', 'l', 't');
sc = rtems_task_create (name, priority, 4 * 1024,
- RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
RTEMS_PREEMPT | RTEMS_TIMESLICE | RTEMS_NO_ASR,
+ RTEMS_FLOATING_POINT | RTEMS_LOCAL,
&id);
if (sc != RTEMS_SUCCESSFUL)
More information about the vc
mailing list