Module: xenomai-rpm Branch: for-upstream Commit: 8295f7da9d9003e780a40d3f05144c943d0c00f0 URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=8295f7da9d9003e780a40d3f05144c943d0c00f0
Author: Philippe Gerum <r...@xenomai.org> Date: Mon Mar 7 15:47:33 2011 +0100 wrappers: use latest irq_desc accessors --- include/asm-generic/wrappers.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h index 6c93075..6cff0bb 100644 --- a/include/asm-generic/wrappers.h +++ b/include/asm-generic/wrappers.h @@ -618,7 +618,7 @@ static inline void wrap_proc_dir_entry_owner(struct proc_dir_entry *entry) #define rthal_irq_chip_enable(irq) \ ({ \ struct irq_desc *desc = rthal_irq_descp(irq); \ - struct irq_chip *chip = desc->chip; \ + struct irq_chip *chip = get_irq_desc_chip(desc); \ int __ret__ = 0; \ if (unlikely(chip->irq_unmask == NULL)) \ __ret__ = -ENODEV; \ @@ -629,7 +629,7 @@ static inline void wrap_proc_dir_entry_owner(struct proc_dir_entry *entry) #define rthal_irq_chip_disable(irq) \ ({ \ struct irq_desc *desc = rthal_irq_descp(irq); \ - struct irq_chip *chip = desc->chip; \ + struct irq_chip *chip = get_irq_desc_chip(desc); \ int __ret__ = 0; \ if (unlikely(chip->irq_mask == NULL)) \ __ret__ = -ENODEV; \ _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git