diff options
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/ecard.c | 4 | ||||
-rw-r--r-- | arch/arm/kernel/irq.c | 20 | ||||
-rw-r--r-- | arch/arm/kernel/smp.c | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/kernel/ecard.c b/arch/arm/kernel/ecard.c index 6540db691338..dceb826bd216 100644 --- a/arch/arm/kernel/ecard.c +++ b/arch/arm/kernel/ecard.c | |||
@@ -585,7 +585,7 @@ ecard_irq_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs) | |||
585 | 585 | ||
586 | if (pending) { | 586 | if (pending) { |
587 | struct irqdesc *d = irq_desc + ec->irq; | 587 | struct irqdesc *d = irq_desc + ec->irq; |
588 | d->handle(ec->irq, d, regs); | 588 | desc_handle_irq(ec->irq, d, regs); |
589 | called ++; | 589 | called ++; |
590 | } | 590 | } |
591 | } | 591 | } |
@@ -632,7 +632,7 @@ ecard_irqexp_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs *reg | |||
632 | * Serial cards should go in 0/1, ethernet/scsi in 2/3 | 632 | * Serial cards should go in 0/1, ethernet/scsi in 2/3 |
633 | * otherwise you will lose serial data at high speeds! | 633 | * otherwise you will lose serial data at high speeds! |
634 | */ | 634 | */ |
635 | d->handle(ec->irq, d, regs); | 635 | desc_handle_irq(ec->irq, d, regs); |
636 | } else { | 636 | } else { |
637 | printk(KERN_WARNING "card%d: interrupt from unclaimed " | 637 | printk(KERN_WARNING "card%d: interrupt from unclaimed " |
638 | "card???\n", slot); | 638 | "card???\n", slot); |
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index 395137a8fad2..3284118f356b 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -207,8 +207,8 @@ void enable_irq_wake(unsigned int irq) | |||
207 | unsigned long flags; | 207 | unsigned long flags; |
208 | 208 | ||
209 | spin_lock_irqsave(&irq_controller_lock, flags); | 209 | spin_lock_irqsave(&irq_controller_lock, flags); |
210 | if (desc->chip->wake) | 210 | if (desc->chip->set_wake) |
211 | desc->chip->wake(irq, 1); | 211 | desc->chip->set_wake(irq, 1); |
212 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 212 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
213 | } | 213 | } |
214 | EXPORT_SYMBOL(enable_irq_wake); | 214 | EXPORT_SYMBOL(enable_irq_wake); |
@@ -219,8 +219,8 @@ void disable_irq_wake(unsigned int irq) | |||
219 | unsigned long flags; | 219 | unsigned long flags; |
220 | 220 | ||
221 | spin_lock_irqsave(&irq_controller_lock, flags); | 221 | spin_lock_irqsave(&irq_controller_lock, flags); |
222 | if (desc->chip->wake) | 222 | if (desc->chip->set_wake) |
223 | desc->chip->wake(irq, 0); | 223 | desc->chip->set_wake(irq, 0); |
224 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 224 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
225 | } | 225 | } |
226 | EXPORT_SYMBOL(disable_irq_wake); | 226 | EXPORT_SYMBOL(disable_irq_wake); |
@@ -517,7 +517,7 @@ static void do_pending_irqs(struct pt_regs *regs) | |||
517 | list_for_each_safe(l, n, &head) { | 517 | list_for_each_safe(l, n, &head) { |
518 | desc = list_entry(l, struct irqdesc, pend); | 518 | desc = list_entry(l, struct irqdesc, pend); |
519 | list_del_init(&desc->pend); | 519 | list_del_init(&desc->pend); |
520 | desc->handle(desc - irq_desc, desc, regs); | 520 | desc_handle_irq(desc - irq_desc, desc, regs); |
521 | } | 521 | } |
522 | 522 | ||
523 | /* | 523 | /* |
@@ -545,7 +545,7 @@ asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs) | |||
545 | 545 | ||
546 | irq_enter(); | 546 | irq_enter(); |
547 | spin_lock(&irq_controller_lock); | 547 | spin_lock(&irq_controller_lock); |
548 | desc->handle(irq, desc, regs); | 548 | desc_handle_irq(irq, desc, regs); |
549 | 549 | ||
550 | /* | 550 | /* |
551 | * Now re-run any pending interrupts. | 551 | * Now re-run any pending interrupts. |
@@ -624,9 +624,9 @@ int set_irq_type(unsigned int irq, unsigned int type) | |||
624 | } | 624 | } |
625 | 625 | ||
626 | desc = irq_desc + irq; | 626 | desc = irq_desc + irq; |
627 | if (desc->chip->type) { | 627 | if (desc->chip->set_type) { |
628 | spin_lock_irqsave(&irq_controller_lock, flags); | 628 | spin_lock_irqsave(&irq_controller_lock, flags); |
629 | ret = desc->chip->type(irq, type); | 629 | ret = desc->chip->set_type(irq, type); |
630 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 630 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
631 | } | 631 | } |
632 | 632 | ||
@@ -846,8 +846,8 @@ unsigned long probe_irq_on(void) | |||
846 | 846 | ||
847 | irq_desc[i].probing = 1; | 847 | irq_desc[i].probing = 1; |
848 | irq_desc[i].triggered = 0; | 848 | irq_desc[i].triggered = 0; |
849 | if (irq_desc[i].chip->type) | 849 | if (irq_desc[i].chip->set_type) |
850 | irq_desc[i].chip->type(i, IRQT_PROBE); | 850 | irq_desc[i].chip->set_type(i, IRQT_PROBE); |
851 | irq_desc[i].chip->unmask(i); | 851 | irq_desc[i].chip->unmask(i); |
852 | irqs += 1; | 852 | irqs += 1; |
853 | } | 853 | } |
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index b2085735a2ba..826164945747 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -110,7 +110,7 @@ int __cpuinit __cpu_up(unsigned int cpu) | |||
110 | * We need to tell the secondary core where to find | 110 | * We need to tell the secondary core where to find |
111 | * its stack and the page tables. | 111 | * its stack and the page tables. |
112 | */ | 112 | */ |
113 | secondary_data.stack = (void *)idle->thread_info + THREAD_SIZE - 8; | 113 | secondary_data.stack = (void *)idle->thread_info + THREAD_START_SP; |
114 | secondary_data.pgdir = virt_to_phys(pgd); | 114 | secondary_data.pgdir = virt_to_phys(pgd); |
115 | wmb(); | 115 | wmb(); |
116 | 116 | ||