>From 377d317c5d8d12c9070a9cf04217bcfbf7d62575 Mon Sep 17 00:00:00 2001
From: Joel Sherrill <joel.sherrill@oarcorp.com>
Date: Mon, 16 Apr 2012 16:15:16 -0500
Subject: [PATCH 2/2] genmcf548x - Use rtems_configuration_are_any_initialization_tasks_fp()

This BSP and variants not compile with POSIX threads API disabled.
---
 .../lib/libbsp/m68k/genmcf548x/startup/bspstart.c  |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c b/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c
index 743ad4c..dfce7af 100644
--- a/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c
@@ -274,11 +274,7 @@ void bsp_start( void )
   _CPU_cacr_shadow = BSP_CACR_INIT;
 
   /* Switch on FPU in CACR shadow register if necessary */
-  if ((Configuration_POSIX_API.number_of_initialization_threads > 0) ||
-      ((Configuration_RTEMS_API.number_of_initialization_tasks > 0) &&
-       (Configuration_RTEMS_API.User_initialization_tasks_table
-	->attribute_set & RTEMS_FLOATING_POINT) != 0)
-      ) {
+  if ( rtems_configuration_are_any_initialization_tasks_fp() ) {
     _CPU_cacr_shadow &= ~MCF548X_CACR_DF;
   }
 
-- 
1.7.1

