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 _XEN_SMP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #ifdef CONFIG_SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) extern void xen_send_IPI_mask(const struct cpumask *mask,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 			      int vector);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) extern void xen_send_IPI_mask_allbutself(const struct cpumask *mask,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 				int vector);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) extern void xen_send_IPI_allbutself(int vector);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) extern void xen_send_IPI_all(int vector);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) extern void xen_send_IPI_self(int vector);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) extern int xen_smp_intr_init(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) extern void xen_smp_intr_free(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) int xen_smp_intr_init_pv(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void xen_smp_intr_free_pv(unsigned int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) void xen_smp_cpus_done(unsigned int max_cpus);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) void xen_smp_send_reschedule(int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void xen_smp_send_call_function_ipi(const struct cpumask *mask);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void xen_smp_send_call_function_single_ipi(int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) struct xen_common_irq {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	int irq;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	char *name;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #else /* CONFIG_SMP */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) static inline int xen_smp_intr_init(unsigned int cpu)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) static inline void xen_smp_intr_free(unsigned int cpu) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) static inline int xen_smp_intr_init_pv(unsigned int cpu)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) static inline void xen_smp_intr_free_pv(unsigned int cpu) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #endif /* CONFIG_SMP */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #endif