Changeset 6cd9aa6 in mainline for kernel/arch/mips32/src/exception.c


Ignore:
Timestamp:
2009-02-15T23:13:55Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17f168e
Parents:
fa09449
Message:

IRQ handlers are using one superfluous argument and an unused elipsis.
On the other hand, IRQ claim functions would need to be passed the instance
argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/exception.c

    rfa09449 r6cd9aa6  
    145145       
    146146        /* decode interrupt number and process the interrupt */
    147         cause = (cp0_cause_read() >> 8) &0xff;
     147        cause = (cp0_cause_read() >> 8) & 0xff;
    148148       
    149149        for (i = 0; i < 8; i++) {
     
    154154                                 * The IRQ handler was found.
    155155                                 */
    156                                 irq->handler(irq, irq->arg);
     156                                irq->handler(irq);
    157157                                spinlock_unlock(&irq->lock);
    158158                        } else {
     
    161161                                 */
    162162#ifdef CONFIG_DEBUG
    163                                 printf("cpu%u: spurious interrupt (inum=%d)\n", CPU->id, i);
     163                                printf("cpu%u: spurious interrupt (inum=%d)\n",
     164                                    CPU->id, i);
    164165#endif
    165166                        }
Note: See TracChangeset for help on using the changeset viewer.