mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 16:38:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			553 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			553 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _ASM_M32R_UNALIGNED_H
 | |
| #define _ASM_M32R_UNALIGNED_H
 | |
| 
 | |
| #if defined(__LITTLE_ENDIAN__)
 | |
| # include <linux/unaligned/le_memmove.h>
 | |
| # include <linux/unaligned/be_byteshift.h>
 | |
| # include <linux/unaligned/generic.h>
 | |
| # define get_unaligned	__get_unaligned_le
 | |
| # define put_unaligned	__put_unaligned_le
 | |
| #else
 | |
| # include <linux/unaligned/be_memmove.h>
 | |
| # include <linux/unaligned/le_byteshift.h>
 | |
| # include <linux/unaligned/generic.h>
 | |
| # define get_unaligned	__get_unaligned_be
 | |
| # define put_unaligned	__put_unaligned_be
 | |
| #endif
 | |
| 
 | |
| #endif /* _ASM_M32R_UNALIGNED_H */
 | 
