Fix arm-linux-user
Only include hw/loader.h from target-arm/helper.c when building for system emulation. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
		
							parent
							
								
									983fe82611
								
							
						
					
					
						commit
						4f78c9ad5a
					
				@ -8,7 +8,9 @@
 | 
				
			|||||||
#include "helpers.h"
 | 
					#include "helpers.h"
 | 
				
			||||||
#include "qemu-common.h"
 | 
					#include "qemu-common.h"
 | 
				
			||||||
#include "host-utils.h"
 | 
					#include "host-utils.h"
 | 
				
			||||||
 | 
					#if !defined(CONFIG_USER_ONLY)
 | 
				
			||||||
#include "hw/loader.h"
 | 
					#include "hw/loader.h"
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static uint32_t cortexa9_cp15_c0_c1[8] =
 | 
					static uint32_t cortexa9_cp15_c0_c1[8] =
 | 
				
			||||||
{ 0x1031, 0x11, 0x000, 0, 0x00100103, 0x20000000, 0x01230000, 0x00002111 };
 | 
					{ 0x1031, 0x11, 0x000, 0, 0x00100103, 0x20000000, 0x01230000, 0x00002111 };
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user