s390x/mmu_helper: avoid setting the storage key if nothing changed
commit380ac2bcce466f3b8f93eb749c7e85bfcf476cd6
authorDavid Hildenbrand <david@redhat.com>
Fri, 3 Sep 2021 15:55:09 +0000 (3 17:55 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 6 Sep 2021 14:24:05 +0000 (6 16:24 +0200)
treeb987e98e2b3ede78a69ecc7346c067986f98fa2f
parent390191c6f6e2e912f45bc312464d59b84ca12db3
s390x/mmu_helper: avoid setting the storage key if nothing changed

Avoid setting the key if nothing changed.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210903155514.44772-9-david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/mmu_helper.c