Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef _ASM_M68K_UNALIGNED_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _ASM_M68K_UNALIGNED_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #ifdef CONFIG_CPU_HAS_NO_UNALIGNED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #include <linux/unaligned/be_struct.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <linux/unaligned/le_byteshift.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <linux/unaligned/generic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define get_unaligned	__get_unaligned_be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define put_unaligned	__put_unaligned_be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  * The m68k can do unaligned accesses itself.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #include <linux/unaligned/access_ok.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #include <linux/unaligned/generic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define get_unaligned	__get_unaligned_be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define put_unaligned	__put_unaligned_be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #endif /* _ASM_M68K_UNALIGNED_H */