]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86 boot code comments typos
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 26 Jul 2007 17:10:35 +0000 (10:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 31 Jul 2007 20:18:05 +0000 (16:18 -0400)
Fix comments typos in new x86 boot code.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/i386/boot/code16gcc.h
arch/i386/boot/header.S
arch/i386/boot/pm.c
arch/i386/boot/video-bios.c

index 3bd848093b9d72b2cc4459c50017f24dd02e06d9..d93e48010b619e52006b13c068f7ffc82c5a96de 100644 (file)
@@ -2,7 +2,7 @@
  * code16gcc.h
  *
  * This file is -include'd when compiling 16-bit C code.
- * Note: this asm() needs to be emitted before gcc omits any code.
+ * Note: this asm() needs to be emitted before gcc emits any code.
  * Depending on gcc version, this requires -fno-unit-at-a-time or
  * -fno-toplevel-reorder.
  *
index 6b9923fb6eae466f8da8a843d6a81a190cc91ee1..32ce54a03d23032f7caded4bf2aabada0862e27a 100644 (file)
@@ -225,7 +225,7 @@ start_of_setup:
        int     $0x13
 #endif
 
-# We will have entired with %cs = %ds+0x20, normalize %cs so
+# We will have entered with %cs = %ds+0x20, normalize %cs so
 # it is on par with the other segments.
        pushw   %ds
        pushw   $setup2
index 1df025c732613fde1b8f79e20e740103e8433e1b..6be9ca811d177d936b328987992664eac232cd49 100644 (file)
@@ -80,7 +80,7 @@ static void move_kernel_around(void)
  */
 static void mask_all_interrupts(void)
 {
-       outb(0xff, 0xa1);       /* Mask all interrupts on the seconday PIC */
+       outb(0xff, 0xa1);       /* Mask all interrupts on the secondary PIC */
        io_delay();
        outb(0xfb, 0x21);       /* Mask all but cascade on the primary PIC */
        io_delay();
index afea46c500cc80a28d0255e10446cdc21047ab53..68e65d95cdfd8627a69df2ed1ec7cf33cd392ca4 100644 (file)
@@ -44,7 +44,7 @@ static int set_bios_mode(u8 mode)
                     : "+a" (ax)
                     : : "ebx", "ecx", "edx", "esi", "edi");
 
-       do_restore = 1;         /* Assume video contents was lost */
+       do_restore = 1;         /* Assume video contents were lost */
        new_mode = ax & 0x7f;   /* Not all BIOSes are clean with the top bit */
 
        if (new_mode == mode)