From f33f61bdb7ca6d5ebe7a78f9d8694b91360279ac Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 04 Dec 2023 07:10:27 +0000
Subject: [PATCH] add gpio
---
kernel/arch/arm64/crypto/crc32-ce-glue.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/arch/arm64/crypto/crc32-ce-glue.c b/kernel/arch/arm64/crypto/crc32-ce-glue.c
index 34b4e3d..ae055cd 100644
--- a/kernel/arch/arm64/crypto/crc32-ce-glue.c
+++ b/kernel/arch/arm64/crypto/crc32-ce-glue.c
@@ -208,7 +208,8 @@
static int __init crc32_pmull_mod_init(void)
{
- if (IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && (elf_hwcap & HWCAP_PMULL)) {
+ if (IS_ENABLED(CONFIG_KERNEL_MODE_NEON) &&
+ !IS_ENABLED(CONFIG_PREEMPT_RT_BASE) && (elf_hwcap & HWCAP_PMULL)) {
crc32_pmull_algs[0].update = crc32_pmull_update;
crc32_pmull_algs[1].update = crc32c_pmull_update;
--
Gitblit v1.6.2