From fe39aaae0eafdab3340ea9a4c4b275c3528b4d75 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 9 Oct 2016 20:42:02 +0200 Subject: add bits/hwcap.h and include it in sys/auxv.h aarch64, arm, mips, mips64, mipsn32, powerpc, powerpc64 and sh have cpu feature bits defined in linux for AT_HWCAP auxv entry, so expose those in sys/auxv.h it seems the mips hwcaps were never exposed to userspace neither by linux nor by glibc, but that's most likely an oversight. --- arch/mips64/bits/hwcap.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 arch/mips64/bits/hwcap.h (limited to 'arch/mips64/bits/hwcap.h') diff --git a/arch/mips64/bits/hwcap.h b/arch/mips64/bits/hwcap.h new file mode 100644 index 00000000..05cffba4 --- /dev/null +++ b/arch/mips64/bits/hwcap.h @@ -0,0 +1,2 @@ +#define HWCAP_MIPS_R6 (1 << 0) +#define HWCAP_MIPS_MSA (1 << 1) -- cgit v1.2.1