• Vineet Gupta's avatar
    ARCv2: fix local_save_flags · cd5d38b0
    Vineet Gupta authored
    Commit d9676fa1 ("ARCv2: Enable LOCKDEP"), changed
    local_save_flags() to not return raw STATUS32 but encoded in the form
    such that it could be fed directly to CLRI/SETI instructions.
    However the STATUS32.E[] was not captured correctly as it corresponds to
    bits [4:1] in the register and not [3:0]
    
    Fixes: d9676fa1 ("ARCv2: Enable LOCKDEP")
    Cc: Evgeny Voevodin <evgeny.voevodin@intel.com>
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    cd5d38b0
irqflags-arcv2.h 3.57 KB