diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-21 10:25:58 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-21 10:25:58 +0100 |
commit | 27eccdad87a5abaa44edf756254db687a3a05be1 (patch) | |
tree | 022ebfaba1b952d44e465790a8066b4b08fefca4 /cpukit/score/cpu/sparc64/rtems | |
parent | nios2: Fix _CPU_ISR_Is_enabled() (diff) | |
download | rtems-27eccdad87a5abaa44edf756254db687a3a05be1.tar.bz2 |
sparc64: Fix _CPU_ISR_Is_enabled()
Update #2820.
Diffstat (limited to 'cpukit/score/cpu/sparc64/rtems')
-rw-r--r-- | cpukit/score/cpu/sparc64/rtems/score/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h index 11fbac46a9..bf6f643d95 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h @@ -756,7 +756,7 @@ extern const CPU_Trap_table_entry _CPU_Trap_slot_template; RTEMS_INLINE_ROUTINE bool _CPU_ISR_Is_enabled( uint32_t level ) { - return ( psr & SPARC_PSTATE_IE_MASK ) != 0; + return ( level & SPARC_PSTATE_IE_MASK ) != 0; } /* |