From 2dc764d998968b79db47cfdfbe6989fdafc85998 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Tue, 30 Oct 2007 15:46:34 +0000 Subject: [PATCH] #ifdef out floating point register stuff. --- comedi/drivers/addi-data/addi_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/comedi/drivers/addi-data/addi_common.c b/comedi/drivers/addi-data/addi_common.c index e14a6fb5..fdef4c17 100644 --- a/comedi/drivers/addi-data/addi_common.c +++ b/comedi/drivers/addi-data/addi_common.c @@ -64,7 +64,9 @@ You shoud also find the complete GPL in the COPYING file accompanying this sourc #include #include #include +#if defined(CONFIG_APCI_1710) || defined(CONFIG_APCI_3200) || defined(CONFIG_APCI_3300) #include +#endif #include "../comedi_fc.h" #include "addi_common.h" @@ -77,6 +79,7 @@ You shoud also find the complete GPL in the COPYING file accompanying this sourc #define devpriv ((addi_private *)dev->private) #define this_board ((boardtype *)dev->board_ptr) +#if defined(CONFIG_APCI_1710) || defined(CONFIG_APCI_3200) || defined(CONFIG_APCI_3300) //BYTE b_SaveFPUReg [94]; void fpu_begin (void) @@ -90,6 +93,7 @@ void fpu_end (void) // asm ("frstor b_SaveFPUReg"); kernel_fpu_end (); } +#endif #include "addi_eeprom.c" #if (defined (CONFIG_APCI_3120) || defined (CONFIG_APCI_3001)) -- 2.26.2