Changeset 7391


Ignore:
Timestamp:
2007-05-30T11:48:57+02:00 (9 years ago)
Author:
florian
Message:

Minor fixes, do not count interrupts without interrupt source as spurious (#1755)

Location:
trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/irq.c

    r6614 r7391  
    4949        intsrc = ADM5120_INTC_STATUS & ADM5120_IRQ_MASK; 
    5050 
    51         for (i = 0; intsrc; intsrc >>= 1, i++) 
    52                 if (intsrc & 0x1) 
    53                         do_IRQ(i); 
    54                 else 
    55                         spurious_interrupt(); 
     51        if (intsrc) { 
     52                for (i = 0; intsrc; intsrc >>= 1, i++) 
     53                        if (intsrc & 0x1) 
     54                                do_IRQ(i); 
     55        } else 
     56                spurious_interrupt(); 
    5657} 
    5758 
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c

    r7383 r7391  
    3939 
    4040extern char *prom_getenv(char *envname); 
     41void prom_printf(char *, ...); 
    4142 
    4243#define PFN_ALIGN(x)    (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) 
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/setup.c

    r6963 r7391  
    7676} 
    7777 
     78#ifdef CONFIG_USB 
    7879static struct resource adm5120_hcd_resources[] = { 
    7980        [0] = { 
     
    105106} 
    106107 
    107 subsys_initcall(adm5120_init); 
     108arch_initcall(adm5120_init); 
     109#endif 
Note: See TracChangeset for help on using the changeset viewer.