Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149632
b: refs/heads/master
c: 9b647a3
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Benjamin Herrenschmidt committed May 21, 2009
1 parent 4ba4dac commit 7d7305d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7cb10d6d23f451eec3d1f0f4e4e8862333fa152
refs/heads/master: 9b647a30cbc228259555d6b0b6bc7d9ec798f907
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/include/asm/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d7305d

Please sign in to comment.