diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2015-01-30 05:20:28 -0500 |
---|---|---|
committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-17 10:37:38 -0500 |
commit | 6134d94923d03556b4f74a7864759dc333030c98 (patch) | |
tree | 1e31542b62d375c89fbf5b435a63d3e97724eea9 /arch | |
parent | 13e45f095753b8203a8446648dea527f9ce4413c (diff) |
MIPS: asm: fpu: Allow 64-bit FPU on MIPS32 R6
MIPS32 R6 has a 64-bit FPU so add the necessary MIPS R6
definition.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/fpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/fpu.h b/arch/mips/include/asm/fpu.h index 994d21939676..b96d9d327626 100644 --- a/arch/mips/include/asm/fpu.h +++ b/arch/mips/include/asm/fpu.h | |||
@@ -68,7 +68,8 @@ static inline int __enable_fpu(enum fpu_mode mode) | |||
68 | goto fr_common; | 68 | goto fr_common; |
69 | 69 | ||
70 | case FPU_64BIT: | 70 | case FPU_64BIT: |
71 | #if !(defined(CONFIG_CPU_MIPS32_R2) || defined(CONFIG_64BIT)) | 71 | #if !(defined(CONFIG_CPU_MIPS32_R2) || defined(CONFIG_CPU_MIPS32_R6) \ |
72 | || defined(CONFIG_64BIT)) | ||
72 | /* we only have a 32-bit FPU */ | 73 | /* we only have a 32-bit FPU */ |
73 | return SIGFPE; | 74 | return SIGFPE; |
74 | #endif | 75 | #endif |