Changeset fdb8c17 in mainline


Ignore:
Timestamp:
2010-05-20T20:40:57Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dbd5df1b
Parents:
bcdc185
Message:

Add ia64 interrupts_disabled().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/asm.h

    rbcdc185 rfdb8c17  
    417417}
    418418
     419/** Check interrupts state.
     420 *
     421 * @return True if interrupts are disabled.
     422 *
     423 */
     424static inline bool interrupts_disabled(void)
     425{
     426        return psr_read() & PSR_I_MASK;
     427}
     428
    419429/** Disable protection key checking. */
    420430static inline void pk_disable(void)
Note: See TracChangeset for help on using the changeset viewer.