diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-12-13 07:38:22 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-08 00:08:35 -0500 |
commit | 92d4dda3332577bc2228b8d436f3d2796c59a520 (patch) | |
tree | 855f64cc3453704c938cacc87b68f2b4ec7f09f6 /arch | |
parent | f31909c00332b3e8299209eaba6cec80756f802c (diff) |
[POWERPC] Fix comment in kernel/irq.c
kernel/irq.c contains a comment that speaks of -1 and -2 as interrupt
numbers, but this is actually dependent on configuration options now.
Replace by NO_IRQ and NO_IRQ_ENABLED.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 34dc37e0e369..919fbf568495 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -281,10 +281,10 @@ void do_IRQ(struct pt_regs *regs) | |||
281 | 281 | ||
282 | /* | 282 | /* |
283 | * Every platform is required to implement ppc_md.get_irq. | 283 | * Every platform is required to implement ppc_md.get_irq. |
284 | * This function will either return an irq number or -1 to | 284 | * This function will either return an irq number or NO_IRQ to |
285 | * indicate there are no more pending. | 285 | * indicate there are no more pending. |
286 | * The value -2 is for buggy hardware and means that this IRQ | 286 | * The value NO_IRQ_IGNORE is for buggy hardware and means that this |
287 | * has already been handled. -- Tom | 287 | * IRQ has already been handled. -- Tom |
288 | */ | 288 | */ |
289 | irq = ppc_md.get_irq(); | 289 | irq = ppc_md.get_irq(); |
290 | 290 | ||