summaryrefslogtreecommitdiff
path: root/target-i386/misc_helper.c
diff options
context:
space:
mode:
authorliguang <lig.fnst@cn.fujitsu.com>2013-05-28 16:21:00 +0800
committerBlue Swirl <blauwirbel@gmail.com>2013-06-15 17:48:49 +0000
commit70b513654c5a4722e727d69ec6999e6e7818670f (patch)
tree98c1957ecae5537c7f92f7942c2707d435bb319d /target-i386/misc_helper.c
parent4b34e3ad83588602834c05c0d59a0d2973e9f48c (diff)
downloadqemu-70b513654c5a4722e727d69ec6999e6e7818670f.tar.gz
qemu-70b513654c5a4722e727d69ec6999e6e7818670f.tar.bz2
qemu-70b513654c5a4722e727d69ec6999e6e7818670f.zip
target-i386/helper: remove EBX 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/misc_helper.c')
-rw-r--r--target-i386/misc_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/misc_helper.c b/target-i386/misc_helper.c
index a6a787fbc9..d7be4f4f98 100644
--- a/target-i386/misc_helper.c
+++ b/target-i386/misc_helper.c
@@ -124,7 +124,7 @@ void helper_cpuid(CPUX86State *env)
cpu_x86_cpuid(env, (uint32_t)env->regs[R_EAX], (uint32_t)ECX, &eax, &ebx, &ecx, &edx);
env->regs[R_EAX] = eax;
- EBX = ebx;
+ env->regs[R_EBX] = ebx;
ECX = ecx;
EDX = edx;
}