1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * SMP definitions for the Hexagon architecture
5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
11 #include <linux/cpumask.h>
13 #define raw_smp_processor_id() (current_thread_info()->cpu)
15 enum ipi_message_type
{
23 extern void send_ipi(const struct cpumask
*cpumask
, enum ipi_message_type msg
);
24 extern void smp_start_cpus(void);
25 extern void arch_send_call_function_single_ipi(int cpu
);
26 extern void arch_send_call_function_ipi_mask(const struct cpumask
*mask
);
28 extern void smp_vm_unmask_irq(void *info
);