diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-04-22 11:31:38 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-05-21 01:43:59 -0400 |
commit | 9b647a30cbc228259555d6b0b6bc7d9ec798f907 (patch) | |
tree | 6889e53ac5acbf1d0c6b54d5f7c9fbf4a8602081 /arch/powerpc/kernel/irq.c | |
parent | d7cb10d6d23f451eec3d1f0f4e4e8862333fa152 (diff) |
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/kernel/irq.c')
-rw-r--r-- | arch/powerpc/kernel/irq.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 463b6ab9d6b9..a5fe12aa937d 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -326,13 +326,6 @@ void do_IRQ(struct pt_regs *regs) | |||
326 | 326 | ||
327 | check_stack_overflow(); | 327 | check_stack_overflow(); |
328 | 328 | ||
329 | /* | ||
330 | * Every platform is required to implement ppc_md.get_irq. | ||
331 | * This function will either return an irq number or NO_IRQ to | ||
332 | * indicate there are no more pending. | ||
333 | * The value NO_IRQ_IGNORE is for buggy hardware and means that this | ||
334 | * IRQ has already been handled. -- Tom | ||
335 | */ | ||
336 | irq = ppc_md.get_irq(); | 329 | irq = ppc_md.get_irq(); |
337 | 330 | ||
338 | if (irq != NO_IRQ && irq != NO_IRQ_IGNORE) | 331 | if (irq != NO_IRQ && irq != NO_IRQ_IGNORE) |