Fix pointers/block calculation
authorhpa <hpa>
Wed, 22 Dec 2004 08:08:08 +0000 (08:08 +0000)
committerhpa <hpa>
Wed, 22 Dec 2004 08:08:08 +0000 (08:08 +0000)
extlinux.asm

index 0849ebf..fffeb89 100644 (file)
@@ -772,6 +772,7 @@ expand_super:
                dec eax
                mov [ClustMask],eax
 
+               add cl,SECTOR_SHIFT-2           ; 4 bytes/pointer
                shl edx,cl
                mov [PtrsPerBlock1],edx
                shl edx,cl