예제 #1
0
파일: irqchip.c 프로젝트: 0-T-0/ps4-linux
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
}
예제 #2
0
파일: irqchip.c 프로젝트: 274914765/C
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
}