diff options
Diffstat (limited to 'arch/i386/boot/setup.S')
-rw-r--r-- | arch/i386/boot/setup.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/boot/setup.S b/arch/i386/boot/setup.S index cbfa7b3e8..1a08bc3ab 100644 --- a/arch/i386/boot/setup.S +++ b/arch/i386/boot/setup.S @@ -202,9 +202,9 @@ bad_sig: xorb %bh, %bh movb (497), %bl # get setup sect from bootsect subw $4, %bx # LILO loads 4 sectors of setup - shlw $7, %bx # convert to dwords (1sect=2^7 dwords) + shlw $8, %bx # convert to words (1sect=2^8 words) movw %bx, %cx - shrw $2, %bx # convert to segment + shrw $3, %bx # convert to segment addw $SYSSEG, %bx movw %bx, %cs:start_sys_seg # Move rest of setup code/data to here |