summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2011-07-11 18:07:14 +0200
committerRusty Russell <rusty@rustcorp.com.au>2011-07-22 14:39:50 +0930
commit64be11583bac5ca65d017a5c4288f10b2bcf1928 (patch)
treeed3d776736e124e9e4fdeadcd43a8b657e73f026
parent9f54288def3f92b7805eb6d4b1ddcd73ecf6e889 (diff)
downloadblackbird-op-linux-64be11583bac5ca65d017a5c4288f10b2bcf1928.tar.gz
blackbird-op-linux-64be11583bac5ca65d017a5c4288f10b2bcf1928.zip
lguest: Fix three simple typos in comments
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)
-rw-r--r--arch/x86/lguest/boot.c2
-rw-r--r--arch/x86/lguest/i386_head.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 74279907bc1a..5c4f240289b4 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -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:
diff --git a/arch/x86/lguest/i386_head.S b/arch/x86/lguest/i386_head.S
index cfa23e37ec5c..6ddfe4fc23c3 100644
--- a/arch/x86/lguest/i386_head.S
+++ b/arch/x86/lguest/i386_head.S
@@ -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!
*
OpenPOWER on IntegriCloud