Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
irq.c
Go to the documentation of this file.
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/gpio.h>
11 #include <linux/kernel.h>
12 #include <linux/irq.h>
13 #include <linux/io.h>
14 #include <mach/bridge-regs.h>
15 #include <plat/orion-gpio.h>
16 #include <plat/irq.h>
17 #include "common.h"
18 
19 static int __initdata gpio0_irqs[4] = {
24 };
25 
27 {
31 
32  /*
33  * Initialize gpiolib for GPIOs 0-31. (The GPIO interrupt mask
34  * registers for core #1 are at an offset of 0x18 from those of
35  * core #0.)
36  */
38  mv78xx0_core_index() ? 0x18 : 0,
39  IRQ_MV78XX0_GPIO_START, gpio0_irqs);
40 }