summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-05-07 22:20:03 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-05-08 10:59:15 +0100
commit5ba185473b20902e862e90d89cabfa7f42f13a40 (patch)
treeb0e3d2a6262a447e3c21c66df5a0ad315b0bd83f
parent7ba4cbbf2e207a5383c30a27f5df9a9806a466d9 (diff)
downloadqemu-5ba185473b20902e862e90d89cabfa7f42f13a40.tar.gz
qemu-5ba185473b20902e862e90d89cabfa7f42f13a40.tar.bz2
qemu-5ba185473b20902e862e90d89cabfa7f42f13a40.zip
Fix spelling in comments (intruction -> instruction)
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r--bsd-user/main.c2
-rw-r--r--linux-user/main.c2
-rw-r--r--tests/test-i386.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 6b12f8bba1..0c3fca15ca 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -237,7 +237,7 @@ void cpu_loop(CPUX86State *env)
break;
#ifndef TARGET_ABI32
case EXCP_SYSCALL:
- /* syscall from syscall intruction */
+ /* syscall from syscall instruction */
if (bsd_type == target_freebsd)
env->regs[R_EAX] = do_freebsd_syscall(env,
env->regs[R_EAX],
diff --git a/linux-user/main.c b/linux-user/main.c
index a1e37e4948..a4996e7e3a 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -323,7 +323,7 @@ void cpu_loop(CPUX86State *env)
break;
#ifndef TARGET_ABI32
case EXCP_SYSCALL:
- /* linux syscall from syscall intruction */
+ /* linux syscall from syscall instruction */
env->regs[R_EAX] = do_syscall(env,
env->regs[R_EAX],
env->regs[R_EDI],
diff --git a/tests/test-i386.c b/tests/test-i386.c
index 8f481c7f7a..56ff1103fa 100644
--- a/tests/test-i386.c
+++ b/tests/test-i386.c
@@ -2281,7 +2281,7 @@ void test_sse_comi(double a1, double b1)
}
/* Force %xmm0 usage to avoid the case where both register index are 0
- to test intruction decoding more extensively */
+ to test instruction decoding more extensively */
#define CVT_OP_XMM2MMX(op)\
{\
asm volatile (#op " %1, %0" : "=y" (r.q[0]) : "x" (a.dq) \