Changeset 6cd9aa6 in mainline for kernel/arch/sparc64


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.

Location:
kernel/arch/sparc64
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/cpu_family.h

    rfa09449 r6cd9aa6  
    8181/** @}
    8282 */
     83
  • kernel/arch/sparc64/include/cpu_node.h

    rfa09449 r6cd9aa6  
    5757/** @}
    5858 */
     59
  • kernel/arch/sparc64/src/drivers/sgcn.c

    rfa09449 r6cd9aa6  
    320320 * The driver works in polled mode, so no interrupt should be handled by it.
    321321 */
    322 static irq_ownership_t sgcn_claim(void)
     322static irq_ownership_t sgcn_claim(void *instance)
    323323{
    324324        return IRQ_DECLINE;
     
    328328 * The driver works in polled mode, so no interrupt should be handled by it.
    329329 */
    330 static void sgcn_irq_handler(irq_t *irq, void *arg, ...)
     330static void sgcn_irq_handler(irq_t *irq)
    331331{
    332332        panic("Not yet implemented, SGCN works in polled mode.");
  • kernel/arch/sparc64/src/trap/interrupt.c

    rfa09449 r6cd9aa6  
    8787                 * The IRQ handler was found.
    8888                 */
    89                 irq->handler(irq, irq->arg);
     89                irq->handler(irq);
    9090                /*
    9191                 * See if there is a clear-interrupt-routine and call it.
Note: See TracChangeset for help on using the changeset viewer.