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>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
d7cb10d6d2
commit
9b647a30cb
@@ -326,13 +326,6 @@ void do_IRQ(struct pt_regs *regs)
|
||||
|
||||
check_stack_overflow();
|
||||
|
||||
/*
|
||||
* Every platform is required to implement ppc_md.get_irq.
|
||||
* This function will either return an irq number or NO_IRQ to
|
||||
* indicate there are no more pending.
|
||||
* The value NO_IRQ_IGNORE is for buggy hardware and means that this
|
||||
* IRQ has already been handled. -- Tom
|
||||
*/
|
||||
irq = ppc_md.get_irq();
|
||||
|
||||
if (irq != NO_IRQ && irq != NO_IRQ_IGNORE)
|
||||
|
Reference in New Issue
Block a user