Revert "Delete rwsem.h"

This reverts commit d785b5b3557b872245738c43ef2ddaca256c50eb.