Messages in this thread Patch in this message | | | Date | Sat, 2 Dec 2006 15:56:27 +0100 | From | Bastian Blank <> | Subject | [PATCH] s390 - fix posix types |
| |
Hi folks
The attached patch remove the usage of __ptr_t from include/asm-s390/posix_types.h.
Bastian
-- Landru! Guide us! -- A Beta 3-oid, "The Return of the Archons", stardate 3157.4 diff --git a/include/asm-s390/posix_types.h b/include/asm-s390/posix_types.h index b94c988..878057b 100644 --- a/include/asm-s390/posix_types.h +++ b/include/asm-s390/posix_types.h @@ -104,7 +104,7 @@ static inline int __FD_ISSET(unsigned long fd, const __kernel_fd_set *fdsetp) #undef __FD_ZERO #define __FD_ZERO(fdsetp) \ - ((void) memset ((__ptr_t) (fdsetp), 0, sizeof (__kernel_fd_set))) + ((void) memset ((fdsetp), 0, sizeof (__kernel_fd_set))) #endif /* __KERNEL__ */ | |