irq.c 658 B

1234567891011121314151617181920212223
  1. /*
  2. * arch/arm/mach-mv78xx0/irq.c
  3. *
  4. * MV78xx0 IRQ handling.
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #include <linux/kernel.h>
  11. #include <linux/init.h>
  12. #include <linux/pci.h>
  13. #include <mach/mv78xx0.h>
  14. #include <plat/irq.h>
  15. #include "common.h"
  16. void __init mv78xx0_init_irq(void)
  17. {
  18. orion_irq_init(0, (void __iomem *)(IRQ_VIRT_BASE + IRQ_MASK_LOW_OFF));
  19. orion_irq_init(32, (void __iomem *)(IRQ_VIRT_BASE + IRQ_MASK_HIGH_OFF));
  20. orion_irq_init(64, (void __iomem *)(IRQ_VIRT_BASE + IRQ_MASK_ERR_OFF));
  21. }