irq.c (0bd2af46839ad6262d25714a6ec0365db9d6b98f) | irq.c (1603b5aca4f15b34848fb5594d0c7b6333b99144) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Code to handle x86 style IRQs plus some generic interrupt stuff. 7 * 8 * Copyright (C) 1992 Linus Torvalds --- 158 unchanged lines hidden (view full) --- 167 kgdb_flag = 0; 168 return 1; 169} 170__setup("nokgdb", nokgdb); 171#endif 172 173void __init init_IRQ(void) 174{ | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Code to handle x86 style IRQs plus some generic interrupt stuff. 7 * 8 * Copyright (C) 1992 Linus Torvalds --- 158 unchanged lines hidden (view full) --- 167 kgdb_flag = 0; 168 return 1; 169} 170__setup("nokgdb", nokgdb); 171#endif 172 173void __init init_IRQ(void) 174{ |
175 int i; 176 177 for (i = 0; i < NR_IRQS; i++) { 178 irq_desc[i].status = IRQ_DISABLED; 179 irq_desc[i].action = NULL; 180 irq_desc[i].depth = 1; 181 irq_desc[i].chip = &no_irq_chip; 182 spin_lock_init(&irq_desc[i].lock); 183#ifdef CONFIG_MIPS_MT_SMTC 184 irq_hwmask[i] = 0; 185#endif /* CONFIG_MIPS_MT_SMTC */ 186 } 187 | |
188 arch_init_irq(); 189 190#ifdef CONFIG_KGDB 191 if (kgdb_flag) { 192 printk("Wait for gdb client connection ...\n"); 193 set_debug_traps(); 194 breakpoint(); 195 } 196#endif 197} | 175 arch_init_irq(); 176 177#ifdef CONFIG_KGDB 178 if (kgdb_flag) { 179 printk("Wait for gdb client connection ...\n"); 180 set_debug_traps(); 181 breakpoint(); 182 } 183#endif 184} |