Patchwork Fix spelling in comments (intruction -> instruction)

login
register
mail settings
Submitter Stefan Weil
Date May 7, 2011, 8:20 p.m.
Message ID <1304799603-19402-1-git-send-email-weil@mail.berlios.de>
Download mbox | patch
Permalink /patch/94509/
State Accepted
Headers show

Comments

Stefan Weil - May 7, 2011, 8:20 p.m.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 bsd-user/main.c   |    2 +-
 linux-user/main.c |    2 +-
 tests/test-i386.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Stefan Hajnoczi - May 8, 2011, 12:02 p.m.
On Sat, May 07, 2011 at 10:20:03PM +0200, Stefan Weil wrote:
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  bsd-user/main.c   |    2 +-
>  linux-user/main.c |    2 +-
>  tests/test-i386.c |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Thanks, applied to the trivial-patches branch:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

For more information see http://wiki.qemu.org/Contribute/TrivialPatches.

Stefan

Patch

diff --git a/bsd-user/main.c b/bsd-user/main.c
index 6b12f8b..0c3fca1 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 a1e37e4..a4996e7 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 8f481c7..56ff110 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) \