Browse Source

* linux-m68k: depend on FPU defines to compile FPU code, instead of CPU68020. also, minor cosmetics

git-svn-id: trunk@46447 -
Károly Balogh 5 years ago
parent
commit
313790502d
2 changed files with 3 additions and 4 deletions
  1. 1 2
      rtl/linux/m68k/sighnd.inc
  2. 2 2
      rtl/linux/m68k/sighndh.inc

+ 1 - 2
rtl/linux/m68k/sighnd.inc

@@ -62,8 +62,7 @@ Procedure ResetFPU;
 var
 var
   l_fpucw : longint;
   l_fpucw : longint;
 begin
 begin
-  
-{$ifdef CPU68020}
+{$if defined(FPU68881) or defined(FPUCOLDFIRE)}
   asm 
   asm 
     fmove.l fpcr,l_fpucw
     fmove.l fpcr,l_fpucw
   end;
   end;

+ 2 - 2
rtl/linux/m68k/sighndh.inc

@@ -23,8 +23,8 @@ type
 
 
   pfpstate = ^tfpstate;
   pfpstate = ^tfpstate;
   tfpstate = record
   tfpstate = record
-           pcr,psr,fpiaddr : longint;
-	   fpreg : array [0..7] of tfpreg;
+    pcr,psr,fpiaddr : longint;
+    fpreg : array [0..7] of tfpreg;
   end;
   end;
 
 
   { as defined in asm_m68k/signal.h }
   { as defined in asm_m68k/signal.h }