diff options
author | Greg Ungerer <gerg@uclinux.org> | 2009-01-29 06:08:53 (GMT) |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-03-24 05:17:42 (GMT) |
commit | 34055b806a6334624e7e8af6eefc3aee42372a85 (patch) | |
tree | b5d39c269bab492bb16b454bfc8ad205d0262a2f /arch/m68k/include/asm/fpu.h | |
parent | 375d1c7e2d56603406a72c67229734c61ebc6735 (diff) | |
download | linux-34055b806a6334624e7e8af6eefc3aee42372a85.tar.xz |
m68k: use mmu fpu.h for non-mmu builds as well
None of the currently support m68knommu targets have an FPU.
Use the mmu version of fpu.h for all m68k.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/fpu.h')
-rw-r--r-- | arch/m68k/include/asm/fpu.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/fpu.h b/arch/m68k/include/asm/fpu.h index e19bc5e..ffb6b8c 100644 --- a/arch/m68k/include/asm/fpu.h +++ b/arch/m68k/include/asm/fpu.h @@ -1,5 +1,21 @@ -#ifdef __uClinux__ -#include "fpu_no.h" +#ifndef __M68K_FPU_H +#define __M68K_FPU_H + + +/* + * MAX floating point unit state size (FSAVE/FRESTORE) + */ + +#if defined(CONFIG_M68020) || defined(CONFIG_M68030) +#define FPSTATESIZE (216) +#elif defined(CONFIG_M68040) +#define FPSTATESIZE (96) +#elif defined(CONFIG_M68KFPU_EMU) +#define FPSTATESIZE (28) +#elif defined(CONFIG_M68060) +#define FPSTATESIZE (12) #else -#include "fpu_mm.h" +#define FPSTATESIZE (0) #endif + +#endif /* __M68K_FPU_H */ |