/*1* linux/arch/m32r/kernel/irq.c2*3* Copyright (c) 2003, 2004 Hitoshi Yamamoto4* Copyright (c) 2004 Hirokazu Takata <takata at linux-m32r.org>5*/67/*8* linux/arch/i386/kernel/irq.c9*10* Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar11*12* This file contains the lowest level m32r-specific interrupt13* entry and irq statistics code. All the remaining irq logic is14* done by the generic kernel/irq/ code and in the15* m32r-specific irq controller code.16*/1718#include <linux/kernel_stat.h>19#include <linux/interrupt.h>20#include <linux/module.h>21#include <asm/uaccess.h>2223/*24* do_IRQ handles all normal device IRQs (the special25* SMP cross-CPU interrupts have their own specific26* handlers).27*/28asmlinkage unsigned int do_IRQ(int irq, struct pt_regs *regs)29{30struct pt_regs *old_regs;31old_regs = set_irq_regs(regs);32irq_enter();3334#ifdef CONFIG_DEBUG_STACKOVERFLOW35/* FIXME M32R */36#endif37generic_handle_irq(irq);38irq_exit();39set_irq_regs(old_regs);4041return 1;42}434445