Changeset c822026 in mainline for kernel/generic/src/ddi/irq.c


Ignore:
Timestamp:
2009-04-13T21:35:28Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4ee4046
Parents:
37c312a
Message:

fix compilation in non-SMP configurations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ddi/irq.c

    r37c312a rc822026  
    352352/** Unlock IRQ structure after hash_table_remove().
    353353 *
    354  * @param lnk           Link in the removed and locked IRQ structure.
     354 * @param lnk Link in the removed and locked IRQ structure.
    355355 */
    356356void irq_ht_remove(link_t *lnk)
    357357{
    358         irq_t *irq = hash_table_get_instance(lnk, irq_t, link);
     358        irq_t *irq __attribute__((unused))
     359            = hash_table_get_instance(lnk, irq_t, link);
    359360        spinlock_unlock(&irq->lock);
    360361}
     
    425426void irq_lin_remove(link_t *lnk)
    426427{
    427         irq_t *irq = hash_table_get_instance(lnk, irq_t, link);
     428        irq_t *irq __attribute__((unused))
     429            = hash_table_get_instance(lnk, irq_t, link);
    428430        spinlock_unlock(&irq->lock);
    429431}
Note: See TracChangeset for help on using the changeset viewer.