|
@@ -342,6 +342,21 @@ bool prep_irq_for_idle(void)
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * Force a replay of the external interrupt handler on this CPU.
|
|
|
|
+ */
|
|
|
|
+void force_external_irq_replay(void)
|
|
|
|
+{
|
|
|
|
+ /*
|
|
|
|
+ * This must only be called with interrupts soft-disabled,
|
|
|
|
+ * the replay will happen when re-enabling.
|
|
|
|
+ */
|
|
|
|
+ WARN_ON(!arch_irqs_disabled());
|
|
|
|
+
|
|
|
|
+ /* Indicate in the PACA that we have an interrupt to replay */
|
|
|
|
+ local_paca->irq_happened |= PACA_IRQ_EE;
|
|
|
|
+}
|
|
|
|
+
|
|
#endif /* CONFIG_PPC64 */
|
|
#endif /* CONFIG_PPC64 */
|
|
|
|
|
|
int arch_show_interrupts(struct seq_file *p, int prec)
|
|
int arch_show_interrupts(struct seq_file *p, int prec)
|