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 BOOT_CPUFLAGS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define BOOT_CPUFLAGS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <asm/cpufeatures.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include <asm/processor-flags.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) struct cpu_features {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	int level;		/* Family, or 64 for x86-64 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	int family;		/* Family, always */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	int model;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	u32 flags[NCAPINTS];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) extern struct cpu_features cpu;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) extern u32 cpu_vendor[3];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int has_eflag(unsigned long mask);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) void get_cpuflags(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif