aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-06-09 22:58:19 +0000
committerRich Felker <dalias@aerifal.cx>2018-06-19 13:27:27 -0400
commit1177f61d6e9eb3751014ef27fb3ce1b58c620b00 (patch)
tree35fbff7fbf2671c6d0bf94fb4f1ed8755ee71114 /arch
parentf3b6690a53c81a869173bbdce701972c952a4e82 (diff)
downloadmusl-1177f61d6e9eb3751014ef27fb3ce1b58c620b00.zip
musl-1177f61d6e9eb3751014ef27fb3ce1b58c620b00.tar.gz
musl-1177f61d6e9eb3751014ef27fb3ce1b58c620b00.tar.bz2
mips: add HWCAP_ flags from linux v4.17
new in linux commit 256211f2b0b251e532d1899b115e374feb16fa7a
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/bits/hwcap.h1
-rw-r--r--arch/mips64/bits/hwcap.h1
-rw-r--r--arch/mipsn32/bits/hwcap.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/bits/hwcap.h b/arch/mips/bits/hwcap.h
index 05cffba..13e86fe 100644
--- a/arch/mips/bits/hwcap.h
+++ b/arch/mips/bits/hwcap.h
@@ -1,2 +1,3 @@
#define HWCAP_MIPS_R6 (1 << 0)
#define HWCAP_MIPS_MSA (1 << 1)
+#define HWCAP_MIPS_CRC32 (1 << 2)
diff --git a/arch/mips64/bits/hwcap.h b/arch/mips64/bits/hwcap.h
index 05cffba..13e86fe 100644
--- a/arch/mips64/bits/hwcap.h
+++ b/arch/mips64/bits/hwcap.h
@@ -1,2 +1,3 @@
#define HWCAP_MIPS_R6 (1 << 0)
#define HWCAP_MIPS_MSA (1 << 1)
+#define HWCAP_MIPS_CRC32 (1 << 2)
diff --git a/arch/mipsn32/bits/hwcap.h b/arch/mipsn32/bits/hwcap.h
index 05cffba..13e86fe 100644
--- a/arch/mipsn32/bits/hwcap.h
+++ b/arch/mipsn32/bits/hwcap.h
@@ -1,2 +1,3 @@
#define HWCAP_MIPS_R6 (1 << 0)
#define HWCAP_MIPS_MSA (1 << 1)
+#define HWCAP_MIPS_CRC32 (1 << 2)