2002-09-21 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM): Correct the value so it covers all platforms, and is computed from _DL_PLATFORMS_COUNT rather than hard-wired. From Andrew Suffield <asuffield@debian.org>.
This commit is contained in:
parent
d0ad0a80a6
commit
ae221102ff
|
@ -30,7 +30,8 @@
|
|||
/* Start at 48 to reserve some space. */
|
||||
#define _DL_FIRST_PLATFORM 48
|
||||
/* Mask to filter out platforms. */
|
||||
#define _DL_HWCAP_PLATFORM (7ULL << _DL_FIRST_PLATFORM)
|
||||
#define _DL_HWCAP_PLATFORM (((1ULL << _DL_PLATFORMS_COUNT) - 1) \
|
||||
<< _DL_FIRST_PLATFORM)
|
||||
|
||||
|
||||
static inline int
|
||||
|
|
Loading…
Reference in New Issue