mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 16:38:31 +00:00 
			
		
		
		
	 4baa992243
			
		
	
	
		4baa992243
		
	
	
	
	
		
			
			Move platform independent header files to arch/arm/include/asm, leaving those in asm/arch* and asm/plat* alone. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
		
			
				
	
	
		
			20 lines
		
	
	
		
			439 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			439 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _ASM_ARM_UNALIGNED_H
 | |
| #define _ASM_ARM_UNALIGNED_H
 | |
| 
 | |
| #include <linux/unaligned/le_byteshift.h>
 | |
| #include <linux/unaligned/be_byteshift.h>
 | |
| #include <linux/unaligned/generic.h>
 | |
| 
 | |
| /*
 | |
|  * Select endianness
 | |
|  */
 | |
| #ifndef __ARMEB__
 | |
| #define get_unaligned	__get_unaligned_le
 | |
| #define put_unaligned	__put_unaligned_le
 | |
| #else
 | |
| #define get_unaligned	__get_unaligned_be
 | |
| #define put_unaligned	__put_unaligned_be
 | |
| #endif
 | |
| 
 | |
| #endif /* _ASM_ARM_UNALIGNED_H */
 |