diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2011-07-11 12:07:14 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-07-22 01:09:50 -0400 |
commit | 64be11583bac5ca65d017a5c4288f10b2bcf1928 (patch) | |
tree | ed3d776736e124e9e4fdeadcd43a8b657e73f026 /arch/x86/lguest | |
parent | 9f54288def3f92b7805eb6d4b1ddcd73ecf6e889 (diff) |
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)
Diffstat (limited to 'arch/x86/lguest')
-rw-r--r-- | arch/x86/lguest/boot.c | 2 | ||||
-rw-r--r-- | arch/x86/lguest/i386_head.S | 2 |
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, | |||
467 | /* | 467 | /* |
468 | * PAE systems can mark pages as non-executable. Linux calls this the | 468 | * PAE systems can mark pages as non-executable. Linux calls this the |
469 | * NX bit. Intel calls it XD (eXecute Disable), AMD EVP (Enhanced | 469 | * NX bit. Intel calls it XD (eXecute Disable), AMD EVP (Enhanced |
470 | * Virus Protection). We just switch turn if off here, since we don't | 470 | * Virus Protection). We just switch it off here, since we don't |
471 | * support it. | 471 | * support it. |
472 | */ | 472 | */ |
473 | case 0x80000001: | 473 | 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 @@ | |||
21 | * assigned number), then it calls us here. | 21 | * assigned number), then it calls us here. |
22 | * | 22 | * |
23 | * WARNING: be very careful here! We're running at addresses equal to physical | 23 | * WARNING: be very careful here! We're running at addresses equal to physical |
24 | * addesses (around 0), not above PAGE_OFFSET as most code expects | 24 | * addresses (around 0), not above PAGE_OFFSET as most code expects |
25 | * (eg. 0xC0000000). Jumps are relative, so they're OK, but we can't touch any | 25 | * (eg. 0xC0000000). Jumps are relative, so they're OK, but we can't touch any |
26 | * data without remembering to subtract __PAGE_OFFSET! | 26 | * data without remembering to subtract __PAGE_OFFSET! |
27 | * | 27 | * |