Merge tag 'ceph-for-4.9-rc1' of git://github.com/ceph/ceph-client
[cascardo/linux.git] / arch / arc / include / asm / irqflags-arcv2.h
index d1ec7f6..e880dfa 100644 (file)
@@ -112,7 +112,7 @@ static inline long arch_local_save_flags(void)
         */
        temp = (1 << 5) |
                ((!!(temp & STATUS_IE_MASK)) << CLRI_STATUS_IE_BIT) |
-               (temp & CLRI_STATUS_E_MASK);
+               ((temp >> 1) & CLRI_STATUS_E_MASK);
        return temp;
 }