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>
This commit is contained in:
		
					parent
					
						
							
								13e45f0957
							
						
					
				
			
			
				commit
				
					
						6134d94923
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Markos Chandras
				Markos Chandras