]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/hexagon/include/asm/smp.h
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-jammy-kernel.git] / arch / hexagon / include / asm / smp.h
CommitLineData
08dbd0f8 1/* SPDX-License-Identifier: GPL-2.0-only */
43afdf50
RK
2/*
3 * SMP definitions for the Hexagon architecture
4 *
e1858b2a 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
43afdf50
RK
6 */
7
8#ifndef __ASM_SMP_H
9#define __ASM_SMP_H
10
11#include <linux/cpumask.h>
12
13#define raw_smp_processor_id() (current_thread_info()->cpu)
14
15enum ipi_message_type {
16 IPI_NOP = 0,
17 IPI_RESCHEDULE = 1,
18 IPI_CALL_FUNC,
43afdf50
RK
19 IPI_CPU_STOP,
20 IPI_TIMER,
21};
22
23extern void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg);
24extern void smp_start_cpus(void);
25extern void arch_send_call_function_single_ipi(int cpu);
26extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
27
28extern void smp_vm_unmask_irq(void *info);
29
30#endif