[rtems-libbsd commit] ftpd: Use floating-point tasks due to syslog()
Sebastian Huber
sebh at rtems.org
Thu Nov 24 11:38:42 UTC 2016
Module: rtems-libbsd
Branch: master
Commit: 269b5591288e45675d539ffd4a8f6d4ac3e54831
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=269b5591288e45675d539ffd4a8f6d4ac3e54831
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Nov 24 12:01:28 2016 +0100
ftpd: Use floating-point tasks due to syslog()
---
rtemsbsd/ftpd/ftpd.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/rtemsbsd/ftpd/ftpd.c b/rtemsbsd/ftpd/ftpd.c
index 0f1577e..77e9d53 100644
--- a/rtemsbsd/ftpd/ftpd.c
+++ b/rtemsbsd/ftpd/ftpd.c
@@ -215,8 +215,6 @@
#include <rtems/ftpd.h>
-#include <machine/rtems-bsd-printf-to-iprintf.h>
-
#ifdef __GNUC__
/* change to #if 1 to disable syslog entirely */
#if 0
@@ -446,7 +444,7 @@ task_pool_init(int count, rtems_task_priority priority)
priority, FTPD_STACKSIZE,
RTEMS_PREEMPT | RTEMS_NO_TIMESLICE |
RTEMS_NO_ASR | RTEMS_INTERRUPT_LEVEL(0),
- RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
+ RTEMS_FLOATING_POINT | RTEMS_LOCAL,
&info->tid);
if (sc == RTEMS_SUCCESSFUL)
{
@@ -2147,7 +2145,7 @@ rtems_ftpd_start(const struct rtems_ftpd_configuration* config)
priority, RTEMS_MINIMUM_STACK_SIZE,
RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR |
RTEMS_INTERRUPT_LEVEL(0),
- RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
+ RTEMS_FLOATING_POINT | RTEMS_LOCAL,
&tid);
if (sc == RTEMS_SUCCESSFUL)
More information about the vc
mailing list