Changeset 27377


Ignore:
Timestamp:
2011-07-03T17:01:40+02:00 (7 years ago)
Author:
juhosg
Message:

ramips: set cp0_perfcount_irq for RT305X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c

    r24560 r27377  
    3939                do_IRQ(RT305X_INTC_IRQ_UART1); 
    4040 
     41        else if (pending &  RT305X_INTC_INT_PERFC) 
     42                do_IRQ(RT305X_INTC_IRQ_PERFC); 
     43 
    4144        else if (pending & RT305X_INTC_INT_OTG) 
    4245                do_IRQ(RT305X_INTC_IRQ_OTG); 
     
    7578        ramips_intc_irq_init(RT305X_INTC_BASE, RT305X_CPU_IRQ_INTC, 
    7679                             RT305X_INTC_IRQ_BASE); 
     80 
     81        cp0_perfcount_irq = RT305X_INTC_IRQ_PERFC; 
    7782} 
Note: See TracChangeset for help on using the changeset viewer.