forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-04 f33f61bdb7ca6d5ebe7a78f9d8694b91360279ac
kernel/arch/arm64/crypto/crc32-ce-glue.c
....@@ -208,7 +208,8 @@
208208
209209 static int __init crc32_pmull_mod_init(void)
210210 {
211
- if (IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && (elf_hwcap & HWCAP_PMULL)) {
211
+ if (IS_ENABLED(CONFIG_KERNEL_MODE_NEON) &&
212
+ !IS_ENABLED(CONFIG_PREEMPT_RT_BASE) && (elf_hwcap & HWCAP_PMULL)) {
212213 crc32_pmull_algs[0].update = crc32_pmull_update;
213214 crc32_pmull_algs[1].update = crc32c_pmull_update;
214215