diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-05 23:36:27 -0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-06-12 15:55:11 +0300 |
commit | 5f1f6e840baafa06e0405f2c1d18da3a73709931 (patch) | |
tree | ef9c57d2e1ab3c150c7ec1ba07f1c8035dc5bbc3 /target-ia64 | |
parent | kvm: kvmtrace: kvmtrace_format for supporting big_endian (diff) | |
download | qemu-kvm-5f1f6e840baafa06e0405f2c1d18da3a73709931.tar.gz qemu-kvm-5f1f6e840baafa06e0405f2c1d18da3a73709931.tar.bz2 qemu-kvm-5f1f6e840baafa06e0405f2c1d18da3a73709931.zip |
Remove env->ready_for_interrupt_injection
There's no need to polute the already poluted CPUState
with "ready_for_interrupt_injection". We can compute it
in the few times we use it, and be fine.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'target-ia64')
-rw-r--r-- | target-ia64/cpu.h | 2 | ||||
-rw-r--r-- | target-ia64/op_helper.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/target-ia64/cpu.h b/target-ia64/cpu.h index 97358eec9..f8e5e8aaf 100644 --- a/target-ia64/cpu.h +++ b/target-ia64/cpu.h @@ -51,8 +51,6 @@ typedef struct CPUIA64State { int user_mode_only; uint32_t hflags; - uint8_t ready_for_interrupt_injection; - } CPUIA64State; #define CPUState CPUIA64State diff --git a/target-ia64/op_helper.c b/target-ia64/op_helper.c index 4969ef75b..f582023f4 100644 --- a/target-ia64/op_helper.c +++ b/target-ia64/op_helper.c @@ -36,7 +36,6 @@ CPUState *cpu_ia64_init(char *cpu_model){ cpu_reset(env); if (kvm_enabled()) { kvm_qemu_init_env(env); - env->ready_for_interrupt_injection = 1; kvm_init_new_ap(env->cpu_index, env); } return env; |