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 __UM_DESC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define __UM_DESC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) /* Taken from asm-i386/desc.h, it's the only thing we need. The rest wouldn't
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * compile, and has never been used. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define LDT_empty(info) (\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	(info)->base_addr	== 0	&& \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	(info)->limit		== 0	&& \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	(info)->contents	== 0	&& \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	(info)->read_exec_only	== 1	&& \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	(info)->seg_32bit	== 0	&& \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	(info)->limit_in_pages	== 0	&& \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	(info)->seg_not_present	== 1	&& \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	(info)->useable		== 0	)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #endif