/*1* irq.c2*3* (C) Copyright 2007, Greg Ungerer <[email protected]>4*5* This file is subject to the terms and conditions of the GNU General Public6* License. See the file COPYING in the main directory of this archive7* for more details.8*/910#include <linux/types.h>11#include <linux/init.h>12#include <linux/kernel.h>13#include <linux/kernel_stat.h>14#include <linux/interrupt.h>15#include <linux/irq.h>16#include <linux/seq_file.h>17#include <asm/system.h>18#include <asm/traps.h>1920asmlinkage void do_IRQ(int irq, struct pt_regs *regs)21{22struct pt_regs *oldregs = set_irq_regs(regs);2324irq_enter();25generic_handle_irq(irq);26irq_exit();2728set_irq_regs(oldregs);29}303132