Skip to content

Commit

Permalink
powerpc/irq: Convert obsolete irq_desc_t to struct irq_desc
Browse files Browse the repository at this point in the history
Impact: cleanup

Convert the last remaining users.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Thomas Gleixner authored and Benjamin Herrenschmidt committed Mar 11, 2009
1 parent af9c724 commit 97f7d6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ int show_interrupts(struct seq_file *p, void *v)
{
int i = *(loff_t *)v, j;
struct irqaction *action;
irq_desc_t *desc;
struct irq_desc *desc;
unsigned long flags;

if (i == 0) {
Expand Down Expand Up @@ -1038,7 +1038,7 @@ arch_initcall(irq_late_init);
static int virq_debug_show(struct seq_file *m, void *private)
{
unsigned long flags;
irq_desc_t *desc;
struct irq_desc *desc;
const char *p;
char none[] = "none";
int i;
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/iseries/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void __init iSeries_activate_IRQs()
unsigned long flags;

for_each_irq (irq) {
irq_desc_t *desc = get_irq_desc(irq);
struct irq_desc *desc = get_irq_desc(irq);

if (desc && desc->chip && desc->chip->startup) {
spin_lock_irqsave(&desc->lock, flags);
Expand Down

0 comments on commit 97f7d6b

Please sign in to comment.