Messages in this thread | | | Subject | Re: Linux 2.0.2: include/asm-i386/posix_types.h problem | Date | Sat, 6 Jul 1996 16:30:08 +0200 (MET DST) | From | "Carsten Paeth" <> |
| |
> > Hi ! > > In Linux 2.0.2, an __FDSET_INTS was forgotten in > include/asm-i386/posix_types.h > I included a patch below which corrects this. > Without this, the macro FD_ZERO is unusable. > > Guilhem. > --- cut here ------------ > --- linux/include/asm-i386/posix_types.h.old Fri Jul 5 19:16:56 1996 > +++ linux/include/asm-i386/posix_types.h Fri Jul 5 19:17:04 1996 > @@ -57,7 +57,7 @@ > #define __FD_ZERO(fdsetp) \ > __asm__ __volatile__("cld ; rep ; stosl" \ > :"=m" (*(__kernel_fd_set *) (fdsetp)) \ > - :"a" (0), "c" (__FDSET_INTS), \ > + :"a" (0), "c" (__FDSET_LONGS), \ > "D" ((__kernel_fd_set *) (fdsetp)) :"cx","di") > > #endif > --- cut here ------------
Also in linux/include/asm-mips/types.h linux/include/asm-sparc/posix_types.h linux/include/asm-ppc/posix_types.h __FDSET_INTS has to be changed to __FDSET_LONGS.
> -- > -----------------------------------| > | /-\ LAVAUX Yves & Guilhem | > | / \ /-\ | > |-/ \ / \ /------------| > | \ / \-/ | > | \-/ ylavaux@pratique.fr | > -----------------------------------| > >
calle -- calle@calle.in-berlin.de
| |