Beispiel #1
0
void __init init_IRQ(void)
{
	init_arch_irq();

#ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND
	/* Now that evt_ivhw is set up, turn this on */
	trace_buff_offset = 0;
	bfin_write_TBUFCTL(BFIN_TRACE_ON);
	printk(KERN_INFO "Hardware Trace expanded to %ik\n",
	  1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN);
#endif
}
Beispiel #2
0
void __init init_IRQ(void)
{
    struct irq_desc *desc;
    int irq;

    spin_lock_init(&irq_controller_lock);
    for (irq = 0, desc = irq_desc; irq < NR_IRQS; irq++, desc++) {
        *desc = bad_irq_desc;
    }

    init_arch_irq();

#ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND
    /* Now that evt_ivhw is set up, turn this on */
    trace_buff_offset = 0;
    bfin_write_TBUFCTL(BFIN_TRACE_ON);
    printk(KERN_INFO "Hardware Trace expanded to %ik\n",
      1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN);
#endif
}