diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2017-05-09 10:27:58 +0200 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-05-12 15:47:13 -0700 |
commit | a7c1fadf00027d8ff16326f4ea1548e3fdbc4a55 (patch) | |
tree | 9347a770330d5958d791f1a01417b925f5d11e53 /target/s390x/kvm.c | |
parent | 4dba4d6fef612d9bfab9554e7dee5960ebdf22d6 (diff) | |
download | qemu-a7c1fadf00027d8ff16326f4ea1548e3fdbc4a55.zip qemu-a7c1fadf00027d8ff16326f4ea1548e3fdbc4a55.tar.gz qemu-a7c1fadf00027d8ff16326f4ea1548e3fdbc4a55.tar.bz2 |
target/s390x: mask the SIGP order_code using SIGP_ORDER_MASK
For that move the definition from kvm.c to cpu.h
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <20170509082800.10756-2-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/s390x/kvm.c')
-rw-r--r-- | target/s390x/kvm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index 1a249d8..fb10542 100644 --- a/target/s390x/kvm.c +++ b/target/s390x/kvm.c @@ -1764,8 +1764,6 @@ static int sigp_set_architecture(S390CPU *cpu, uint32_t param, return SIGP_CC_ORDER_CODE_ACCEPTED; } -#define SIGP_ORDER_MASK 0x000000ff - static int handle_sigp(S390CPU *cpu, struct kvm_run *run, uint8_t ipa1) { CPUS390XState *env = &cpu->env; |