diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-02-26 22:37:41 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-02-26 22:37:31 +0100 |
commit | b8e660b83d505148c83ddc6d5ba69c29d0eab1e3 (patch) | |
tree | cd4a679a8bf867bd7b0644292524c5fed64c6d0b /arch/s390/kvm/kvm-s390.c | |
parent | 59b697874529f5c3cbcaf5816b3d6c584af521e8 (diff) | |
download | kernel_samsung_aries-b8e660b83d505148c83ddc6d5ba69c29d0eab1e3.zip kernel_samsung_aries-b8e660b83d505148c83ddc6d5ba69c29d0eab1e3.tar.gz kernel_samsung_aries-b8e660b83d505148c83ddc6d5ba69c29d0eab1e3.tar.bz2 |
[S390] Replace ENOTSUPP usage with EOPNOTSUPP
ENOTSUPP is not supposed to leak to userspace so lets just use
EOPNOTSUPP everywhere.
Doesn't fix a bug, but makes future reviews easier.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 70e799e..7f19340 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -543,7 +543,7 @@ rerun_vcpu: rc = -EINTR; } - if (rc == -ENOTSUPP) { + if (rc == -EOPNOTSUPP) { /* intercept cannot be handled in-kernel, prepare kvm-run */ kvm_run->exit_reason = KVM_EXIT_S390_SIEIC; kvm_run->s390_sieic.icptcode = vcpu->arch.sie_block->icptcode; |