diff options
Diffstat (limited to 'c/src/exec/posix/src/pthread.c')
-rw-r--r-- | c/src/exec/posix/src/pthread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c index b46af6853b..6a980d9282 100644 --- a/c/src/exec/posix/src/pthread.c +++ b/c/src/exec/posix/src/pthread.c @@ -577,10 +577,11 @@ int pthread_create( core_priority = _POSIX_Priority_To_core( attrp->schedparam.sched_priority ); /* - * Currently all POSIX threads are floating point. + * Currently all POSIX threads are floating point if the hardware + * supports it. */ - is_fp = TRUE; + is_fp = CPU_HARDWARE_FP; /* * Disable dispatch for protection |