Revert "lib: rwsem: stash commits from upstream."

This reverts commit fc8518f1a8f62ab280de34b309b47d8ebe85bd61.