patch-2.4.5 linux/arch/cris/kernel/irq.c
Next file: linux/arch/cris/kernel/kgdb.c
Previous file: linux/arch/cris/kernel/head.S
Back to the patch index
Back to the overall index
- Lines: 62
- Date:
Tue May 1 16:04:56 2001
- Orig file:
v2.4.4/linux/arch/cris/kernel/irq.c
- Orig date:
Fri Apr 6 10:42:55 2001
diff -u --recursive --new-file v2.4.4/linux/arch/cris/kernel/irq.c linux/arch/cris/kernel/irq.c
@@ -1,4 +1,4 @@
-/* $Id: irq.c,v 1.11 2001/02/27 13:52:52 bjornw Exp $
+/* $Id: irq.c,v 1.14 2001/04/17 13:58:39 orjanf Exp $
*
* linux/arch/cris/kernel/irq.c
*
@@ -160,7 +160,7 @@
BUILD_IRQ(23, 0x800000)
BUILD_IRQ(24, 0x1000000)
BUILD_IRQ(25, 0x2000000)
-/* IRQ 26-30 are resereved */
+/* IRQ 26-30 are reserved */
BUILD_IRQ(31, 0x80000000)
/*
@@ -261,11 +261,11 @@
irq_enter(cpu);
kstat.irqs[cpu][irq]++;
- action = *(irq + irq_action);
+ action = irq_action[irq];
if (action) {
if (!(action->flags & SA_INTERRUPT))
__sti();
- action = *(irq + irq_action);
+ action = irq_action[irq];
do_random = 0;
do {
do_random |= action->flags;
@@ -396,7 +396,7 @@
save_flags(flags);
cli();
*p = action->next;
- if (!irq[irq_action]) {
+ if (!irq_action[irq]) {
mask_irq(irq);
set_int_vector(irq, bad_interrupt[irq], 0);
}
@@ -419,8 +419,8 @@
*/
void system_call(void); /* from entry.S */
-void gdb_handle_breakpoint(void); /* from traps.c */
-void do_sigtrap(void); /* also from traps.c */
+void do_sigtrap(void); /* from entry.S */
+void gdb_handle_breakpoint(void); /* from entry.S */
void init_IRQ(void)
{
@@ -475,10 +475,10 @@
/* setup a breakpoint handler for debugging used for both user and
kernel mode debugging (which is why it is not inside an ifdef
- CONFIG_KGDB) */
+ CONFIG_ETRAX_KGDB) */
set_break_vector(8, gdb_handle_breakpoint);
-#ifdef CONFIG_KGDB
+#ifdef CONFIG_ETRAX_KGDB
/* setup kgdb if its enabled, and break into the debugger */
kgdb_init();
breakpoint();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)