Thread (20 messages) 20 messages, 5 authors, 2011-09-26
STALE5376d

[RFC PATCH 01/14] ARM: GIC: Add global gic_handle_irq() function

From: Russell King - ARM Linux <hidden>
Date: 2011-09-23 20:18:02

On Fri, Sep 23, 2011 at 05:51:19PM +0100, Marc Zyngier wrote:
+		if (irqnr < 16) {
+			writel_relaxed(irqstat, gic_cpu_base_addr + GIC_CPU_EOI);
+#ifdef CONFIG_SMP
+			do_IPI(irqnr, regs);
+#endif
This doesn't work.  do_IPI is marked as an entry function, and so expects
to be called with the precondition that the pt_regs are stored immediately
above its stack frame, without another function's stack frame in the way.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help