diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 09:33:55 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 09:33:55 +0100 |
commit | ed9526b0d342a1c08a19f880c3f0c1d0fec4e8db (patch) | |
tree | a09b43d06d123bbf8763eb91a5c2c46632d8e27f /include/asm-cris/posix_types.h | |
parent | 2a1b181eff32f497f285fcfc1e771ec469205908 (diff) | |
download | kernel_samsung_smdk4412-ed9526b0d342a1c08a19f880c3f0c1d0fec4e8db.tar.gz kernel_samsung_smdk4412-ed9526b0d342a1c08a19f880c3f0c1d0fec4e8db.tar.bz2 kernel_samsung_smdk4412-ed9526b0d342a1c08a19f880c3f0c1d0fec4e8db.zip |
Clean up exported headers on CRIS
This fixes most of the issues with exported headers on CRIS, although
we do still need to deal with the asm/arch symlink.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-cris/posix_types.h')
-rw-r--r-- | include/asm-cris/posix_types.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-cris/posix_types.h b/include/asm-cris/posix_types.h index 6d26fee4a61..7b9ed22ab5d 100644 --- a/include/asm-cris/posix_types.h +++ b/include/asm-cris/posix_types.h @@ -6,8 +6,6 @@ #ifndef __ARCH_CRIS_POSIX_TYPES_H #define __ARCH_CRIS_POSIX_TYPES_H -#include <asm/bitops.h> - /* * This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. Also, we cannot @@ -53,9 +51,8 @@ typedef struct { #endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */ } __kernel_fsid_t; -/* should this ifdef be here ? */ - -#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) +#ifdef __KERNEL__ +#include <asm/bitops.h> #undef __FD_SET #define __FD_SET(fd,fdsetp) set_bit(fd, (void *)(fdsetp)) @@ -69,6 +66,6 @@ typedef struct { #undef __FD_ZERO #define __FD_ZERO(fdsetp) memset((void *)(fdsetp), 0, __FDSET_LONGS << 2) -#endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */ +#endif /* __KERNEL__ */ #endif /* __ARCH_CRIS_POSIX_TYPES_H */ |