Acked-by: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			152 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			152 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef __QEMU_BARRIER_H
 | 
						|
#define __QEMU_BARRIER_H 1
 | 
						|
 | 
						|
/* FIXME: arch dependant, x86 version */
 | 
						|
#define smp_wmb()   asm volatile("" ::: "memory")
 | 
						|
 | 
						|
#endif
 |