RISC-V: refactor lightweight lock/unlock

XMLWordPrintable

      Currently, lightweigh_lock/unlock and fast_lock/unlock_lightweight share lots of code, and the code in fast_lock/unlock_lightweight is not friendly to read, in particular the register names.
      Would be hlepful to refactor it a bit.

            Assignee:
            Unassigned
            Reporter:
            Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: