Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/um/include/asm/smp.h
49767 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef __UM_SMP_H
3
#define __UM_SMP_H
4
5
#if IS_ENABLED(CONFIG_SMP)
6
7
#include <linux/cpumask.h>
8
#include <shared/smp.h>
9
10
#define raw_smp_processor_id() uml_curr_cpu()
11
12
void arch_smp_send_reschedule(int cpu);
13
14
void arch_send_call_function_single_ipi(int cpu);
15
16
void arch_send_call_function_ipi_mask(const struct cpumask *mask);
17
18
#endif /* CONFIG_SMP */
19
20
#endif
21
22