Changeset 623b49f1 in mainline for kernel/arch/ia32/include/smp/smp.h


Ignore:
Timestamp:
2007-01-29T19:22:04Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1004b37
Parents:
7d07bf3
Message:

fix signed/unsigned comparison and integer overflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/smp/smp.h

    r7d07bf3 r623b49f1  
    4444        bool (*cpu_bootstrap)(index_t i);       /**< Check whether the processor of index i is BSP. */
    4545        uint8_t (*cpu_apic_id)(index_t i);              /**< Return APIC ID of the processor of index i. */
    46         int (*irq_to_pin)(int irq);             /**< Return mapping between irq and APIC pin. */
     46        int (*irq_to_pin)(unsigned int irq);            /**< Return mapping between irq and APIC pin. */
    4747};
    4848
    49 extern int smp_irq_to_pin(int irq);
     49extern int smp_irq_to_pin(unsigned int irq);
    5050
    5151#endif
Note: See TracChangeset for help on using the changeset viewer.