summaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorliguang <lig.fnst@cn.fujitsu.com>2013-05-28 16:21:04 +0800
committerBlue Swirl <blauwirbel@gmail.com>2013-06-15 17:49:48 +0000
commit08b3ded6bdc06ac6b9d1f700a1ee108f4ba4030f (patch)
treebbc4cc9fb1da49061f11013a9798ee60e7fea061 /target-i386/cpu.h
parentc12dddd7918e3479d0b5b0a1b25588d557347171 (diff)
downloadqemu-08b3ded6bdc06ac6b9d1f700a1ee108f4ba4030f.tar.gz
target-i386/helper: remove ESP macro
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index fc0cf65f06..6b058bb229 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -1101,8 +1101,6 @@ static inline int cpu_mmu_index (CPUX86State *env)
? MMU_KSMAP_IDX : MMU_KERNEL_IDX;
}
-#undef ESP
-#define ESP (env->regs[R_ESP])
#undef ESI
#define ESI (env->regs[R_ESI])
#undef EDI