summaryrefslogtreecommitdiff
path: root/arch/mips/lib/crc32-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/crc32-mips.c')
-rw-r--r--arch/mips/lib/crc32-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/crc32-mips.c b/arch/mips/lib/crc32-mips.c
index 676a4b3e290b..84df361e7181 100644
--- a/arch/mips/lib/crc32-mips.c
+++ b/arch/mips/lib/crc32-mips.c
@@ -62,7 +62,7 @@ do { \
#define CRC32C(crc, value, size) \
_CRC32(crc, value, size, crc32c)
-static DEFINE_STATIC_KEY_FALSE(have_crc32);
+static __ro_after_init DEFINE_STATIC_KEY_FALSE(have_crc32);
u32 crc32_le_arch(u32 crc, const u8 *p, size_t len)
{