summaryrefslogtreecommitdiff
path: root/cpu-defs.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-12-18 08:16:30 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-18 11:26:33 -0600
commitac8c740bb72ed75d11a0ebe2d3057e85abf4c584 (patch)
tree4602ac6508ce985f0200a52f4629b27ba06f1ea0 /cpu-defs.h
parentd758d435d4f6e08d6571c13d9fad576dfe93ee32 (diff)
downloadqemu-ac8c740bb72ed75d11a0ebe2d3057e85abf4c584.tar.gz
qemu-ac8c740bb72ed75d11a0ebe2d3057e85abf4c584.tar.bz2
qemu-ac8c740bb72ed75d11a0ebe2d3057e85abf4c584.zip
Revert "kvm: x86: Save/restore exception_index"
This reverts commit ebbc8a3d8e76d0402f8a08c10c0f32e24715d41d. As suggested by Jan Kiszka, "It was obsoleted by d1793b836f8f123b961c613de1bb1c0c185c84cc and now saves/restores a useless field." Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpu-defs.h')
-rw-r--r--cpu-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-defs.h b/cpu-defs.h
index 51dc436b4f..95068b5304 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -179,7 +179,7 @@ typedef struct CPUWatchpoint {
\
/* Core interrupt code */ \
jmp_buf jmp_env; \
- int32_t exception_index; \
+ int exception_index; \
\
CPUState *next_cpu; /* next CPU sharing TB cache */ \
int cpu_index; /* CPU index (informative) */ \