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_GENERIC_BITS_PER_LONG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define __ASM_GENERIC_BITS_PER_LONG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <uapi/asm-generic/bitsperlong.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #ifdef __SIZEOF_LONG__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define BITS_PER_LONG __WORDSIZE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #if BITS_PER_LONG != __BITS_PER_LONG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #error Inconsistent word size. Check asm/bitsperlong.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #ifndef BITS_PER_LONG_LONG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define BITS_PER_LONG_LONG 64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif /* __ASM_GENERIC_BITS_PER_LONG */