Changeset 6cd9aa6 in mainline for kernel/arch/ppc32


Ignore:
Timestamp:
2009-02-15T23:13:55Z (17 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.

Location:
kernel/arch/ppc32/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/drivers/cuda.c

    rfa09449 r6cd9aa6  
    250250}
    251251
    252 static void cuda_irq_handler(irq_t *irq, void *arg, ...)
     252static void cuda_irq_handler(irq_t *irq)
    253253{
    254254        if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox))
     
    265265}
    266266
    267 static irq_ownership_t cuda_claim(void)
     267static irq_ownership_t cuda_claim(void *instance)
    268268{
    269269        return IRQ_ACCEPT;
  • kernel/arch/ppc32/src/interrupt.c

    rfa09449 r6cd9aa6  
    7474                        }
    7575                       
    76                         irq->handler(irq, irq->arg);
     76                        irq->handler(irq);
    7777                        spinlock_unlock(&irq->lock);
    7878                } else {
Note: See TracChangeset for help on using the changeset viewer.