diff options
-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; } /* |