mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 07:02:06 +00:00 
			
		
		
		
	 1c0040047d
			
		
	
	
		1c0040047d
		
	
	
	
	
		
			
			Fix the ia64 build error that occurs in the linux-next tree by introducing an ia64 version of uv.h. Additionally, clean up the usage of is_uv_system(). Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
		
			
				
	
	
		
			14 lines
		
	
	
		
			287 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			287 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _ASM_IA64_UV_UV_H
 | |
| #define _ASM_IA64_UV_UV_H
 | |
| 
 | |
| #include <asm/system.h>
 | |
| #include <asm/sn/simulator.h>
 | |
| 
 | |
| static inline int is_uv_system(void)
 | |
| {
 | |
| 	/* temporary support for running on hardware simulator */
 | |
| 	return IS_MEDUSA() || ia64_platform_is("uv");
 | |
| }
 | |
| 
 | |
| #endif	/* _ASM_IA64_UV_UV_H */
 |