lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 26 Jul 2007 10:10:35 -0700 From: Randy Dunlap <randy.dunlap@...cle.com> To: hpa@...or.com Cc: lkml <linux-kernel@...r.kernel.org> Subject: [patch] x86 boot code comments typos From: Randy Dunlap <randy.dunlap@...cle.com> Fix comments typos in new x86 boot code. Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com> --- arch/i386/boot/code16gcc.h | 2 +- arch/i386/boot/header.S | 2 +- arch/i386/boot/pm.c | 2 +- arch/i386/boot/video-bios.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --- linux-2623-rc1g2.orig/arch/i386/boot/pm.c +++ linux-2623-rc1g2/arch/i386/boot/pm.c @@ -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(); --- linux-2623-rc1g2.orig/arch/i386/boot/video-bios.c +++ linux-2623-rc1g2/arch/i386/boot/video-bios.c @@ -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) --- linux-2623-rc1g2.orig/arch/i386/boot/code16gcc.h +++ linux-2623-rc1g2/arch/i386/boot/code16gcc.h @@ -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. * --- linux-2623-rc1g2.orig/arch/i386/boot/header.S +++ linux-2623-rc1g2/arch/i386/boot/header.S @@ -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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists