summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/machdep.h
diff options
context:
space:
mode:
authorMichael Ellerman2009-04-22 17:31:38 +0200
committerBenjamin Herrenschmidt2009-05-21 07:43:59 +0200
commit9b647a30cbc228259555d6b0b6bc7d9ec798f907 (patch)
tree6889e53ac5acbf1d0c6b54d5f7c9fbf4a8602081 /arch/powerpc/include/asm/machdep.h
parentpowerpc/irq: Move stack overflow check into a separate function (diff)
downloadkernel-qcow2-linux-9b647a30cbc228259555d6b0b6bc7d9ec798f907.tar.gz
kernel-qcow2-linux-9b647a30cbc228259555d6b0b6bc7d9ec798f907.tar.xz
kernel-qcow2-linux-9b647a30cbc228259555d6b0b6bc7d9ec798f907.zip
powerpc/irq: Move get_irq() comment into header
The guts of do_IRQ() isn't really the right place to be documenting the ppc_md.get_irq() interface. So move the comment into machdep.h Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r--arch/powerpc/include/asm/machdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h
index 0efdb1dfdc5f..11d1fc3a8962 100644
--- a/arch/powerpc/include/asm/machdep.h
+++ b/arch/powerpc/include/asm/machdep.h
@@ -110,6 +110,10 @@ struct machdep_calls {
void (*show_percpuinfo)(struct seq_file *m, int i);
void (*init_IRQ)(void);
+
+ /* Return an irq, or NO_IRQ to indicate there are none pending.
+ * If for some reason there is no irq, but the interrupt
+ * shouldn't be counted as spurious, return NO_IRQ_IGNORE. */
unsigned int (*get_irq)(void);
#ifdef CONFIG_KEXEC
void (*kexec_cpu_down)(int crash_shutdown, int secondary);