diff options
author | Andrew Morton <akpm@osdl.org> | 2007-01-11 02:15:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-11 21:18:22 -0500 |
commit | aae7d14f619c665b83e07013e3dda8694ea3e40b (patch) | |
tree | 031a1a3210ed7a62662df79a806bb4f77e187f88 /include/asm-ia64 | |
parent | e4f0ae0ea63caceff37a13f281a72652b7ea71ba (diff) |
[PATCH] FD_ZERO build fix
unionfs managed to hit this on s390. Some architectures use __ptr_t in their
FD_ZERO implementation. We don't have a __ptr_t. Switch them over to plain
old void*.
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/posix_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/posix_types.h b/include/asm-ia64/posix_types.h index adb62272694f..17885567b731 100644 --- a/include/asm-ia64/posix_types.h +++ b/include/asm-ia64/posix_types.h | |||
@@ -54,7 +54,7 @@ typedef unsigned int __kernel_old_dev_t; | |||
54 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) | 54 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) |
55 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) | 55 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) |
56 | #define __FD_ZERO(set) \ | 56 | #define __FD_ZERO(set) \ |
57 | ((void) memset ((__ptr_t) (set), 0, sizeof (__kernel_fd_set))) | 57 | ((void) memset ((void *) (set), 0, sizeof (__kernel_fd_set))) |
58 | 58 | ||
59 | # else /* !__GNUC__ */ | 59 | # else /* !__GNUC__ */ |
60 | 60 | ||