summaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorliguang <lig.fnst@cn.fujitsu.com>2013-05-28 16:21:02 +0800
committerBlue Swirl <blauwirbel@gmail.com>2013-06-15 17:49:10 +0000
commit00f5e6f21ea55046173a8a106b7654036888e9b3 (patch)
treebb329a18bc4e8d3dba5889e1cdc9adcef7fedfad /target-i386/cpu.h
parenta416561005da6e4f9903541486f53c2cbc3a428d (diff)
downloadqemu-00f5e6f21ea55046173a8a106b7654036888e9b3.tar.gz
qemu-00f5e6f21ea55046173a8a106b7654036888e9b3.tar.bz2
qemu-00f5e6f21ea55046173a8a106b7654036888e9b3.zip
target-i386/helper: remove EDX 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 b3c6fcbeac..ebc5abd07e 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 EDX
-#define EDX (env->regs[R_EDX])
#undef ESP
#define ESP (env->regs[R_ESP])
#undef EBP