projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e45f0
)
MIPS: asm: fpu: Allow 64-bit FPU on MIPS32 R6
author
Markos Chandras
<markos.chandras@imgtec.com>
Fri, 30 Jan 2015 10:20:28 +0000
(10:20 +0000)
committer
Markos Chandras
<markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:38 +0000
(15:37 +0000)
MIPS32 R6 has a 64-bit FPU so add the necessary MIPS R6
definition.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/fpu.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/fpu.h
b/arch/mips/include/asm/fpu.h
index 994d219396761317d8fe626ec01d671c595d2b00..b96d9d327626ca19cdacf809d4d5aa59bb70a83d 100644
(file)
--- 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)
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