From ff04dda46d227ea9ccf79b0f1e48636dbb3cc913 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 5 Sep 2012 17:59:16 -0700 Subject: Recognize new sparc hwcap bits. * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE, HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new entries. --- sysdeps/sparc/dl-procinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/sparc/dl-procinfo.c') diff --git a/sysdeps/sparc/dl-procinfo.c b/sysdeps/sparc/dl-procinfo.c index 6e107dd..8280e01 100644 --- a/sysdeps/sparc/dl-procinfo.c +++ b/sysdeps/sparc/dl-procinfo.c @@ -46,13 +46,13 @@ #if !defined PROCINFO_DECL && defined SHARED ._dl_sparc_cap_flags #else -PROCINFO_CLASS const char _dl_sparc_cap_flags[24][11] +PROCINFO_CLASS const char _dl_sparc_cap_flags[27][11] #endif #ifndef PROCINFO_DECL = { "flush", "stbar", "swap", "muldiv", "v9", "ultra3", "v9v", "v9v2", "mul32", "div32", "fsmuld", "v8plus", "popc", "vis", "vis2", "ASIBlkInit", "fmaf", "vis3", "hpc", "random", "trans", "fjfmau", - "ima", "cspare" } + "ima", "cspare", "pause", "cbcond", "crypto" } #endif #if !defined SHARED || defined PROCINFO_DECL ; -- cgit v1.1