From 269b5591288e45675d539ffd4a8f6d4ac3e54831 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 24 Nov 2016 12:01:28 +0100 Subject: 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 0f1577e1..77e9d535 100644 --- a/rtemsbsd/ftpd/ftpd.c +++ b/rtemsbsd/ftpd/ftpd.c @@ -215,8 +215,6 @@ #include -#include - #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) -- cgit v1.2.3