[PATCH 4.9 116/128] sparc32: fix register window handling in genregs32_[gs]et()