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 PERF_AFFINITY_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define PERF_AFFINITY_H 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <stdbool.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) struct affinity {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	unsigned long *orig_cpus;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	unsigned long *sched_cpus;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	bool changed;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) void affinity__cleanup(struct affinity *a);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) void affinity__set(struct affinity *a, int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) int affinity__setup(struct affinity *a);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #endif // PERF_AFFINITY_H