mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	ARCv2: Check for LL-SC livelock only if LLSC is enabled
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
		
							parent
							
								
									b89bd1f4fb
								
							
						
					
					
						commit
						4d0cb15fcc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -339,6 +339,7 @@ static void arc_chk_core_config(void)
 | 
			
		|||
		panic("FPU non-existent, disable CONFIG_ARC_FPU_SAVE_RESTORE\n");
 | 
			
		||||
 | 
			
		||||
	if (is_isa_arcv2() && IS_ENABLED(CONFIG_SMP) && cpu->isa.atomic &&
 | 
			
		||||
	    IS_ENABLED(CONFIG_ARC_HAS_LLSC) &&
 | 
			
		||||
	    !IS_ENABLED(CONFIG_ARC_STAR_9000923308))
 | 
			
		||||
		panic("llock/scond livelock workaround missing\n");
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue