lkml.org 
[lkml]   [1996]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectLinux 2.0.2: include/asm-i386/posix_types.h problem
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 ------------
--
-----------------------------------|
| /-\ LAVAUX Yves & Guilhem |
| / \ /-\ |
|-/ \ / \ /------------|
| \ / \-/ |
| \-/ ylavaux@pratique.fr |
-----------------------------------|


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.057 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site