Blame view

kernel/linux-rt-4.4.41/arch/mips/xilfpga/intc.c 651 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  /*
   * Xilfpga interrupt controller setup
   *
   * Copyright (C) 2015 Imagination Technologies
   * Author: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
   *
   * This program is free software; you can redistribute it and/or modify it
   * under the terms and conditions of the GNU General Public License,
   * version 2, as published by the Free Software Foundation.
   */
  
  #include <linux/of.h>
  #include <linux/of_irq.h>
  
  #include <asm/irq_cpu.h>
  
  static struct of_device_id of_irq_ids[] __initdata = {
  	{ .compatible = "mti,cpu-interrupt-controller", .data = mips_cpu_irq_of_init },
  	{},
  };
  
  void __init arch_init_irq(void)
  {
  	of_irq_init(of_irq_ids);
  }