Skip to content
Snippets Groups Projects
Commit 6134d949 authored by Markos Chandras's avatar Markos Chandras
Browse files

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: default avatarMarkos Chandras <markos.chandras@imgtec.com>
parent 13e45f09
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,8 @@ static inline int __enable_fpu(enum fpu_mode mode)
goto fr_common;
case FPU_64BIT:
#if !(defined(CONFIG_CPU_MIPS32_R2) || defined(CONFIG_64BIT))
#if !(defined(CONFIG_CPU_MIPS32_R2) || defined(CONFIG_CPU_MIPS32_R6) \
|| defined(CONFIG_64BIT))
/* we only have a 32-bit FPU */
return SIGFPE;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment