2 * Copyright 2001 MontaVista Software Inc.
3 * Author: jsun@mvista.com or jsun@junsun.net
5 * arch/mips/ddb5xxx/common/irq.c
6 * Common irq code for DDB boards. This really should belong
7 * arch/mips/kernel/irq.c. Need to talk to Ralf.
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
14 #include <linux/config.h>
15 #include <linux/init.h>
18 void (*irq_setup)(void);
21 static int kgdb_flag = 1;
22 static int __init nokgdb(char *str)
27 __setup("nokgdb", nokgdb);
30 void __init init_IRQ(void)
33 extern void breakpoint(void);
34 extern void set_debug_traps(void);
37 printk("Wait for gdb client connection ...\n");
42 /* set up default irq controller */
45 /* invoke board-specific irq setup */