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 SMPBOOT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define SMPBOOT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) struct task_struct;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #ifdef CONFIG_GENERIC_SMP_IDLE_THREAD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) struct task_struct *idle_thread_get(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) void idle_thread_set_boot_cpu(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) void idle_threads_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) static inline void idle_thread_set_boot_cpu(void) { }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) static inline void idle_threads_init(void) { }
^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) int smpboot_create_threads(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int smpboot_park_threads(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) int smpboot_unpark_threads(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void __init cpuhp_threads_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #endif