lguest: Fix three simple typos in comments
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 11 Jul 2011 16:07:14 +0000 (18:07 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 22 Jul 2011 05:09:50 +0000 (14:39 +0930)
This patch fixes three typos I've accidentally spotted.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (one was already fixed)
arch/x86/lguest/boot.c
arch/x86/lguest/i386_head.S

index 74279907bc1abf40ae09b788b078f1545bb095c3..5c4f240289b437a7e0002e5c4e202a34c1d9512b 100644 (file)
@@ -467,7 +467,7 @@ static void lguest_cpuid(unsigned int *ax, unsigned int *bx,
        /*
         * PAE systems can mark pages as non-executable.  Linux calls this the
         * NX bit.  Intel calls it XD (eXecute Disable), AMD EVP (Enhanced
-        * Virus Protection).  We just switch turn if off here, since we don't
+        * Virus Protection).  We just switch it off here, since we don't
         * support it.
         */
        case 0x80000001:
index cfa23e37ec5ce24a3df7c12a420d28c71bd89009..6ddfe4fc23c3eefbfe4bb10f726ce27bc51a2fba 100644 (file)
@@ -21,7 +21,7 @@
  * assigned number), then it calls us here.
  *
  * WARNING: be very careful here!  We're running at addresses equal to physical
- * addesses (around 0), not above PAGE_OFFSET as most code expects
+ * addresses (around 0), not above PAGE_OFFSET as most code expects
  * (eg. 0xC0000000).  Jumps are relative, so they're OK, but we can't touch any
  * data without remembering to subtract __PAGE_OFFSET!
  *