diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-12-13 18:01:21 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-12-14 08:47:07 -0200 |
commit | bfb7bf227331e682e35ccbc630ecd66127bea538 (patch) | |
tree | 5690e4e5c887c910dc69d102286b48699c6bf475 /sysdeps/sparc/dl-procinfo.h | |
parent | 2bce01ebbaf8db52ba4a5635eb5744f989cdbf69 (diff) | |
download | glibc-bfb7bf227331e682e35ccbc630ecd66127bea538.tar glibc-bfb7bf227331e682e35ccbc630ecd66127bea538.tar.gz glibc-bfb7bf227331e682e35ccbc630ecd66127bea538.tar.bz2 glibc-bfb7bf227331e682e35ccbc630ecd66127bea538.zip |
sparc: support the ADP hw capability
This patch adds support for the ADP (also known as adi) hardware
capability, as reported by the kernel sparc port when running on M7
machines.
Tested in both sparcv9-*-* and sparc64-*-* targets.
* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
* sysdeps/sparc/dl-procinfo.c: Added "adp" to the
_dl_sparc_cap_flags array.
* sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/sparc/dl-procinfo.h')
-rw-r--r-- | sysdeps/sparc/dl-procinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h index 456dde6c9e..19bab8c1d3 100644 --- a/sysdeps/sparc/dl-procinfo.h +++ b/sysdeps/sparc/dl-procinfo.h @@ -23,7 +23,7 @@ #include <ldsodefs.h> #include <sysdep.h> -#define _DL_HWCAP_COUNT 27 +#define _DL_HWCAP_COUNT 28 static inline int __attribute__ ((unused)) |