···585585586586 if (pending) {587587 struct irqdesc *d = irq_desc + ec->irq;588588- d->handle(ec->irq, d, regs);588588+ desc_handle_irq(ec->irq, d, regs);589589 called ++;590590 }591591 }···632632 * Serial cards should go in 0/1, ethernet/scsi in 2/3633633 * otherwise you will lose serial data at high speeds!634634 */635635- d->handle(ec->irq, d, regs);635635+ desc_handle_irq(ec->irq, d, regs);636636 } else {637637 printk(KERN_WARNING "card%d: interrupt from unclaimed "638638 "card???\n", slot);
+10-10
arch/arm/kernel/irq.c
···207207 unsigned long flags;208208209209 spin_lock_irqsave(&irq_controller_lock, flags);210210- if (desc->chip->wake)211211- desc->chip->wake(irq, 1);210210+ if (desc->chip->set_wake)211211+ desc->chip->set_wake(irq, 1);212212 spin_unlock_irqrestore(&irq_controller_lock, flags);213213}214214EXPORT_SYMBOL(enable_irq_wake);···219219 unsigned long flags;220220221221 spin_lock_irqsave(&irq_controller_lock, flags);222222- if (desc->chip->wake)223223- desc->chip->wake(irq, 0);222222+ if (desc->chip->set_wake)223223+ desc->chip->set_wake(irq, 0);224224 spin_unlock_irqrestore(&irq_controller_lock, flags);225225}226226EXPORT_SYMBOL(disable_irq_wake);···517517 list_for_each_safe(l, n, &head) {518518 desc = list_entry(l, struct irqdesc, pend);519519 list_del_init(&desc->pend);520520- desc->handle(desc - irq_desc, desc, regs);520520+ desc_handle_irq(desc - irq_desc, desc, regs);521521 }522522523523 /*···545545546546 irq_enter();547547 spin_lock(&irq_controller_lock);548548- desc->handle(irq, desc, regs);548548+ desc_handle_irq(irq, desc, regs);549549550550 /*551551 * Now re-run any pending interrupts.···624624 }625625626626 desc = irq_desc + irq;627627- if (desc->chip->type) {627627+ if (desc->chip->set_type) {628628 spin_lock_irqsave(&irq_controller_lock, flags);629629- ret = desc->chip->type(irq, type);629629+ ret = desc->chip->set_type(irq, type);630630 spin_unlock_irqrestore(&irq_controller_lock, flags);631631 }632632···846846847847 irq_desc[i].probing = 1;848848 irq_desc[i].triggered = 0;849849- if (irq_desc[i].chip->type)850850- irq_desc[i].chip->type(i, IRQT_PROBE);849849+ if (irq_desc[i].chip->set_type)850850+ irq_desc[i].chip->set_type(i, IRQT_PROBE);851851 irq_desc[i].chip->unmask(i);852852 irqs += 1;853853 }
+1-1
arch/arm/kernel/smp.c
···110110 * We need to tell the secondary core where to find111111 * its stack and the page tables.112112 */113113- secondary_data.stack = (void *)idle->thread_info + THREAD_SIZE - 8;113113+ secondary_data.stack = (void *)idle->thread_info + THREAD_START_SP;114114 secondary_data.pgdir = virt_to_phys(pgd);115115 wmb();116116
···585585586586 s3c2410_pm_check_store();587587588588- // need to make some form of time-delta589589-590588 /* send the cpu to sleep... */591589592590 __raw_writel(0x00, S3C2410_CLKCON); /* turn off clocks over sleep */593591594592 s3c2410_cpu_suspend(regs_save);593593+594594+ /* restore the cpu state */595595+596596+ cpu_init();595597596598 /* unset the return-from-sleep flag, to ensure reset */597599
···3838 mrc p15, 0, r1, c5, c0, 0 @ get FSR3939 mrc p15, 0, r0, c6, c0, 0 @ get FAR4040 ldr r8, [r0] @ read arm instruction4141- tst r8, #1 << 20 @ L = 1 -> write?4242- orreq r1, r1, #1 << 8 @ yes.4141+ tst r8, #1 << 20 @ L = 0 -> write?4242+ orreq r1, r1, #1 << 11 @ yes.4343 and r7, r8, #15 << 244444 add pc, pc, r7, lsr #22 @ Now branch to the relevant processing routine4545 nop···7171 mrc p15, 0, r1, c5, c0, 0 @ get FSR7272 mrc p15, 0, r0, c6, c0, 0 @ get FAR7373 ldr r8, [r2] @ read arm instruction7474- tst r8, #1 << 20 @ L = 1 -> write?7575- orreq r1, r1, #1 << 8 @ yes.7474+ tst r8, #1 << 20 @ L = 0 -> write?7575+ orreq r1, r1, #1 << 11 @ yes.7676 and r7, r8, #14 << 247777 teq r7, #8 << 24 @ was it ldm/stm7878 movne pc, lr
+1-1
arch/arm/plat-omap/gpio.c
···590590 if (!(isr & 1))591591 continue;592592 d = irq_desc + gpio_irq;593593- d->handle(gpio_irq, d, regs);593593+ desc_handle_irq(gpio_irq, d, regs);594594 }595595}596596
+1-1
drivers/pcmcia/pxa2xx_base.c
···246246 driver_unregister(&pxa2xx_pcmcia_driver);247247}248248249249-module_init(pxa2xx_pcmcia_init);249249+fs_initcall(pxa2xx_pcmcia_init);250250module_exit(pxa2xx_pcmcia_exit);251251252252MODULE_AUTHOR("Stefan Eletzhofer <stefan.eletzhofer@inquant.de> and Ian Molton <spyro@f2s.com>");
···4242 /*4343 * Set the type of the IRQ.4444 */4545- int (*type)(unsigned int, unsigned int);4545+ int (*set_type)(unsigned int, unsigned int);4646 /*4747 * Set wakeup-enable on the selected IRQ4848 */4949- int (*wake)(unsigned int, unsigned int);4949+ int (*set_wake)(unsigned int, unsigned int);50505151#ifdef CONFIG_SMP5252 /*···9090};91919292extern struct irqdesc irq_desc[];9393+9494+/*9595+ * Helpful inline function for calling irq descriptor handlers.9696+ */9797+static inline void desc_handle_irq(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs)9898+{9999+ desc->handle(irq, desc, regs);100100+}9310194102/*95103 * This is internal. Do not use it.