/* * IRQ vector handles * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995, 1996, 1997, 2003 by Ralf Baechle */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/irq.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <asm/i8259.h> #include <asm/irq_cpu.h> #include <asm/irq_gt641xx.h> #include <asm/gt64120.h> #include <irq.h>
asmlinkage void plat_irq_dispatch(void) { unsigned pending = read_c0_status() & read_c0_cause() & ST0_IM; int irq; if (pending & CAUSEF_IP2) gt641xx_irq_dispatch(); else if (pending & CAUSEF_IP6) { irq = i8259_irq(); if (irq < 0) spurious_interrupt(); else do_IRQ(irq); } else if (pending & CAUSEF_IP3) do_IRQ(MIPS_CPU_IRQ_BASE + 3); else if (pending & CAUSEF_IP4) do_IRQ(MIPS_CPU_IRQ_BASE + 4); else if (pending & CAUSEF_IP5) do_IRQ(MIPS_CPU_IRQ_BASE + 5); else if (pending & CAUSEF_IP7) do_IRQ(MIPS_CPU_IRQ_BASE + 7); else spurious_interrupt(); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 46 | 38.33% | 3 | 60.00% |
Andrew Morton | 44 | 36.67% | 1 | 20.00% |
Yoichi Yuasa | 30 | 25.00% | 1 | 20.00% |
Total | 120 | 100.00% | 5 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 21 | 63.64% | 3 | 50.00% |
Yoichi Yuasa | 10 | 30.30% | 1 | 16.67% |
Andrew Morton | 1 | 3.03% | 1 | 16.67% |
Atsushi Nemoto | 1 | 3.03% | 1 | 16.67% |
Total | 33 | 100.00% | 6 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 99 | 48.06% | 4 | 44.44% |
Andrew Morton | 48 | 23.30% | 1 | 11.11% |
Yoichi Yuasa | 47 | 22.82% | 1 | 11.11% |
Thomas Gleixner | 6 | 2.91% | 1 | 11.11% |
Wu Zhangjin | 5 | 2.43% | 1 | 11.11% |
Atsushi Nemoto | 1 | 0.49% | 1 | 11.11% |
Total | 206 | 100.00% | 9 | 100.00% |