staging:iio:Documentation gyro -> anglvel updates in attribute names
[zen-stable.git] / arch / m32r / kernel / irq.c
blobc7272b8942835adb9f39a80d8026ea6cbfd42798
1 /*
2 * linux/arch/m32r/kernel/irq.c
4 * Copyright (c) 2003, 2004 Hitoshi Yamamoto
5 * Copyright (c) 2004 Hirokazu Takata <takata at linux-m32r.org>
6 */
8 /*
9 * linux/arch/i386/kernel/irq.c
11 * Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar
13 * This file contains the lowest level m32r-specific interrupt
14 * entry and irq statistics code. All the remaining irq logic is
15 * done by the generic kernel/irq/ code and in the
16 * m32r-specific irq controller code.
19 #include <linux/kernel_stat.h>
20 #include <linux/interrupt.h>
21 #include <linux/module.h>
22 #include <asm/uaccess.h>
25 * do_IRQ handles all normal device IRQs (the special
26 * SMP cross-CPU interrupts have their own specific
27 * handlers).
29 asmlinkage unsigned int do_IRQ(int irq, struct pt_regs *regs)
31 struct pt_regs *old_regs;
32 old_regs = set_irq_regs(regs);
33 irq_enter();
35 #ifdef CONFIG_DEBUG_STACKOVERFLOW
36 /* FIXME M32R */
37 #endif
38 generic_handle_irq(irq);
39 irq_exit();
40 set_irq_regs(old_regs);
42 return 1;