mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 01:45:23 +07:00
b340c656af
Tile includes a hypervisor hook to deliver messages to arbitrary tiles, so we can use that to raise an interrupt as soon as possible on our own core. Unfortunately the Tilera hypervisor disabled that support on principle in previous releases, but it will be available in MDE 4.3.4 and later. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
15 lines
244 B
C
15 lines
244 B
C
#ifndef __ASM_IRQ_WORK_H
|
|
#define __ASM_IRQ_WORK_H
|
|
|
|
static inline bool arch_irq_work_has_interrupt(void)
|
|
{
|
|
#ifdef CONFIG_SMP
|
|
extern bool self_interrupt_ok;
|
|
return self_interrupt_ok;
|
|
#else
|
|
return false;
|
|
#endif
|
|
}
|
|
|
|
#endif /* __ASM_IRQ_WORK_H */
|