[PATCH] s390 - fix posix types

From: Bastian Blank
Date: Sat Dec 02 2006 - 09:56:47 EST


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__ */