aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorliguang <lig.fnst@cn.fujitsu.com>2013-05-28 16:21:01 +0800
committerBlue Swirl <blauwirbel@gmail.com>2013-06-15 17:48:57 +0000
commita416561005da6e4f9903541486f53c2cbc3a428d (patch)
tree6b098a1000b2b9aeabe6cdc2654fedc889dc3780 /target-i386/cpu.h
parent70b513654c5a4722e727d69ec6999e6e7818670f (diff)
target-i386/helper: remove ECX 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 28ff02d589..b3c6fcbeac 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 ECX
-#define ECX (env->regs[R_ECX])
#undef EDX
#define EDX (env->regs[R_EDX])
#undef ESP