Revert "x86: Side-step lguest problem by only building cmpxchg8b_emu for pre-Pentium"
This reverts commitae1b22f6e4. As Linus said in982d007a6e: "There was something really messy about cmpxchg8b and clone CPU's, so if you enable it on other CPUs later, do it carefully." This breaks lguest for those configs, but we can fix that by emulating if we have to. Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=14884 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
					parent
					
						
							
								6307daad84
							
						
					
				
			
			
				commit
				
					
						db677ffa5f
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -396,7 +396,7 @@ config X86_TSC | ||||||
| 
 | 
 | ||||||
| config X86_CMPXCHG64 | config X86_CMPXCHG64 | ||||||
| 	def_bool y | 	def_bool y | ||||||
| 	depends on !M386 && !M486 | 	depends on X86_PAE || X86_64 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MATOM | ||||||
| 
 | 
 | ||||||
| # this should be set for all -march=.. options where the compiler | # this should be set for all -march=.. options where the compiler | ||||||
| # generates cmov. | # generates cmov. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rusty Russell
				Rusty Russell