mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
asm-*/posix_types.h: scrub __GLIBC__
Some arches (like alpha and ia64) already have a clean posix_types.h header. This brings all the others in line by removing all references to __GLIBC__ (and some undocumented __USE_ALL). Signed-off-by: Mike Frysinger <[email protected]> Acked-by: Ingo Molnar <[email protected]> Cc: Ulrich Drepper <[email protected]> Cc: Roland McGrath <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
90b315af12
commit
531d7d4256
16 changed files with 27 additions and 81 deletions
|
|
@ -64,8 +64,7 @@ typedef struct {
|
|||
|
||||
#else /* __GNUC__ */
|
||||
|
||||
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) \
|
||||
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0)
|
||||
#if defined(__KERNEL__)
|
||||
/* With GNU C, use inline functions instead so args are evaluated only once: */
|
||||
|
||||
#undef __FD_SET
|
||||
|
|
@ -124,6 +123,6 @@ static __inline__ void __FD_ZERO(__kernel_fd_set *p)
|
|||
}
|
||||
}
|
||||
|
||||
#endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */
|
||||
#endif /* defined(__KERNEL__) */
|
||||
#endif /* __GNUC__ */
|
||||
#endif /* _ASM_POWERPC_POSIX_TYPES_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue