![Chris Metcalf](/assets/img/avatar_default.png)
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 */
|