patch-2.0.2 linux/include/asm-alpha/posix_types.h
Next file: linux/include/asm-i386/errno.h
Previous file: linux/include/asm-alpha/errno.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Jul 5 13:48:39 1996
- Orig file:
v2.0.1/linux/include/asm-alpha/posix_types.h
- Orig date:
Fri Apr 5 13:35:28 1996
diff -u --recursive --new-file v2.0.1/linux/include/asm-alpha/posix_types.h linux/include/asm-alpha/posix_types.h
@@ -74,18 +74,18 @@
#undef __FD_ZERO
static __inline__ void __FD_ZERO(__kernel_fd_set *p)
{
- unsigned int *tmp = p->fds_bits;
+ unsigned long *tmp = p->fds_bits;
int i;
- if (__builtin_constant_p(__FDSET_INTS)) {
- switch (__FDSET_INTS) {
+ if (__builtin_constant_p(__FDSET_LONGS)) {
+ switch (__FDSET_LONGS) {
case 8:
tmp[0] = 0; tmp[1] = 0; tmp[2] = 0; tmp[3] = 0;
tmp[4] = 0; tmp[5] = 0; tmp[6] = 0; tmp[7] = 0;
return;
}
}
- i = __FDSET_INTS;
+ i = __FDSET_LONGS;
while (i) {
i--;
*tmp = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov