summaryrefslogtreecommitdiff
path: root/arch/s390/mm/pgtable.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2014-08-06 16:17:58 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-08-25 14:35:15 +0200
commit614a80e474b227cace52fd6e3c790554db8a396e (patch)
tree02a2e3e74d767ede0709d2ba3e17ef1256eb9f0d /arch/s390/mm/pgtable.c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
KVM: s390: Fix user triggerable bug in dead code
In the early days, we had some special handling for the KVM_EXIT_S390_SIEIC exit, but this was gone in 2009 with commit d7b0b5eb3000 (KVM: s390: Make psw available on all exits, not just a subset). Now this switch statement is just a sanity check for userspace not messing with the kvm_run structure. Unfortunately, this allows userspace to trigger a kernel BUG. Let's just remove this switch statement. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'arch/s390/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions