···830830 /* Set type if specified and different than the current one */831831 if (type != IRQ_TYPE_NONE &&832832 type != (irqd_get_trigger_type(irq_get_irq_data(virq))))833833- set_irq_type(virq, type);833833+ irq_set_irq_type(virq, type);834834 return virq;835835}836836EXPORT_SYMBOL_GPL(irq_create_of_mapping);···853853 return;854854855855 /* remove chip and handler */856856- set_irq_chip_and_handler(virq, NULL, NULL);856856+ irq_set_chip_and_handler(virq, NULL, NULL);857857858858 /* Make sure it's completed */859859 synchronize_irq(virq);···11581158 seq_printf(m, "%5d ", i);11591159 seq_printf(m, "0x%05lx ", virq_to_hw(i));1160116011611161- chip = get_irq_desc_chip(desc);11611161+ chip = irq_desc_get_chip(desc);11621162 if (chip && chip->name)11631163 p = chip->name;11641164 else
+1-1
arch/powerpc/kernel/machine_kexec.c
···3131 if (!desc)3232 continue;33333434- chip = get_irq_desc_chip(desc);3434+ chip = irq_desc_get_chip(desc);3535 if (!chip)3636 continue;3737
···192192193193void mpc52xx_gpt_irq_cascade(unsigned int virq, struct irq_desc *desc)194194{195195- struct mpc52xx_gpt_priv *gpt = get_irq_data(virq);195195+ struct mpc52xx_gpt_priv *gpt = irq_get_handler_data(virq);196196 int sub_virq;197197 u32 status;198198···209209 struct mpc52xx_gpt_priv *gpt = h->host_data;210210211211 dev_dbg(gpt->dev, "%s: h=%p, virq=%i\n", __func__, h, virq);212212- set_irq_chip_data(virq, gpt);213213- set_irq_chip_and_handler(virq, &mpc52xx_gpt_irq_chip, handle_edge_irq);212212+ irq_set_chip_data(virq, gpt);213213+ irq_set_chip_and_handler(virq, &mpc52xx_gpt_irq_chip, handle_edge_irq);214214215215 return 0;216216}···259259 }260260261261 gpt->irqhost->host_data = gpt;262262- set_irq_data(cascade_virq, gpt);263263- set_irq_chained_handler(cascade_virq, mpc52xx_gpt_irq_cascade);262262+ irq_set_handler_data(cascade_virq, gpt);263263+ irq_set_chained_handler(cascade_virq, mpc52xx_gpt_irq_cascade);264264265265 /* If the GPT is currently disabled, then change it to be in Input266266 * Capture mode. If the mode is non-zero, then the pin could be
···181181 * be more cautious here but that works for now182182 */183183 irq_set_status_flags(virq, IRQ_LEVEL);184184- set_irq_chip_and_handler(virq, &i8259_pic, handle_level_irq);184184+ irq_set_chip_and_handler(virq, &i8259_pic, handle_level_irq);185185 return 0;186186}187187···191191 i8259_mask_irq(irq_get_irq_data(virq));192192193193 /* remove chip and handler */194194- set_irq_chip_and_handler(virq, NULL, NULL);194194+ irq_set_chip_and_handler(virq, NULL, NULL);195195196196 /* Make sure it's completed */197197 synchronize_irq(virq);
···615615 if (irq < NUM_ISA_INTERRUPTS)616616 return NULL;617617618618- return get_irq_chip_data(irq);618618+ return irq_get_chip_data(irq);619619}620620621621/* Determine if the linux irq is an IPI */···649649/* Get the mpic structure from the irq number */650650static inline struct mpic * mpic_from_irq(unsigned int irq)651651{652652- return get_irq_chip_data(irq);652652+ return irq_get_chip_data(irq);653653}654654655655/* Get the mpic structure from the irq data */···978978 WARN_ON(!(mpic->flags & MPIC_PRIMARY));979979980980 DBG("mpic: mapping as IPI\n");981981- set_irq_chip_data(virq, mpic);982982- set_irq_chip_and_handler(virq, &mpic->hc_ipi,981981+ irq_set_chip_data(virq, mpic);982982+ irq_set_chip_and_handler(virq, &mpic->hc_ipi,983983 handle_percpu_irq);984984 return 0;985985 }···1001100110021002 DBG("mpic: mapping to irq chip @%p\n", chip);1003100310041004- set_irq_chip_data(virq, mpic);10051005- set_irq_chip_and_handler(virq, chip, handle_fasteoi_irq);10041004+ irq_set_chip_data(virq, mpic);10051005+ irq_set_chip_and_handler(virq, chip, handle_fasteoi_irq);1006100610071007 /* Set default irq type */10081008- set_irq_type(virq, IRQ_TYPE_NONE);10081008+ irq_set_irq_type(virq, IRQ_TYPE_NONE);1009100910101010 /* If the MPIC was reset, then all vectors have already been10111011 * initialized. Otherwise, a per source lazy initialization