diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-12-14 17:02:16 +0100 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2012-12-18 14:36:38 +0200 |
commit | 55c171a6d90dc0574021f9c836127cfd1a7d2e30 (patch) | |
tree | b13fae2636784f86aecf148beeb353bc21ac2531 /arch/s390/include/asm/futex.h | |
parent | d4b06c2d4cce466e2d62163c0a954e1b2ce96f8b (diff) |
KVM: s390: Handle hosts not supporting s390-virtio.
Running under a kvm host does not necessarily imply the presence of
a page mapped above the main memory with the virtio information;
however, the code includes a hard coded access to that page.
Instead, check for the presence of the page and exit gracefully
before we hit an addressing exception if it does not exist.
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
cc: stable@vger.kernel.org
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/s390/include/asm/futex.h')
0 files changed, 0 insertions, 0 deletions