Re: Ext2 patches

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Sat, 4 Apr 1998 11:50:05 +0200 (MET DST)


>
> According to Theodore Y. Ts'o:
> > But you still haven't made the necessary changes for the code to be
> > correct on the i386. A "long" expression, shifted right 32 bits,
> > has no defined value. The patch you gave introduced a couple such
> > shifts.
> >
> > Chip, did you check the patches my message before you replied?
>
> Yes, but I guess I didn't do a thorough job -- I saw "(pos + size) >> 32",
> but I suppose you've changed the types of pos and/or size.... Sorry, and
> thanks for the good work.

Note:

#if BITS_PER_LONG < 64
...
#else
...
(pos + size) >> 32
...
#endif

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.91 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu