From 1177f61d6e9eb3751014ef27fb3ce1b58c620b00 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 9 Jun 2018 22:58:19 +0000 Subject: [PATCH] mips: add HWCAP_ flags from linux v4.17 new in linux commit 256211f2b0b251e532d1899b115e374feb16fa7a --- arch/mips/bits/hwcap.h | 1 + arch/mips64/bits/hwcap.h | 1 + arch/mipsn32/bits/hwcap.h | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/mips/bits/hwcap.h b/arch/mips/bits/hwcap.h index 05cffba4..13e86fe7 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 05cffba4..13e86fe7 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 05cffba4..13e86fe7 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) -- 2.25.1