diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-01-11 17:21:46 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-01-16 18:50:34 +0000 |
commit | afce1991f6f61514172696ec3edf93331cb0e04f (patch) | |
tree | e5d3400000da4748a5290fb7db330c18e279fe8e /sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h | |
parent | b725132d2b0aeddf970b1ce3e5a24f8637a7b4c2 (diff) | |
download | glibc-afce1991f6f61514172696ec3edf93331cb0e04f.tar glibc-afce1991f6f61514172696ec3edf93331cb0e04f.tar.gz glibc-afce1991f6f61514172696ec3edf93331cb0e04f.tar.bz2 glibc-afce1991f6f61514172696ec3edf93331cb0e04f.zip |
aarch64: make HWCAP updates less error prone
Remove unused _DL_HWCAP_LAST definition and move _DL_HWCAP_COUNT
where it is needed (dl-procinfo.h always includes dl-procinfo.c).
* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
(_DL_HWCAP_LAST): Remove.
(_DL_HWCAP_COUNT): Move to ...
* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
(_DL_HWCAP_COUNT): ... here.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h index cf683f5b29..6887713149 100644 --- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h @@ -27,12 +27,6 @@ /* We cannot provide a general printing function. */ #define _dl_procinfo(type, word) -1 -/* Number of HWCAP bits set. */ -#define _DL_HWCAP_COUNT 16 - -/* Offset of the last bit allocated in HWCAP. */ -#define _DL_HWCAP_LAST 15 - /* HWCAP_CPUID should be available by default to influence IFUNC as well as library search. */ #define HWCAP_IMPORTANT HWCAP_CPUID |