--- zzzz-none-000/linux-5.4.213/arch/arc/kernel/unaligned.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/arch/arc/kernel/unaligned.c 2024-08-14 09:01:26.000000000 +0000 @@ -202,7 +202,7 @@ char buf[TASK_COMM_LEN]; /* handle user mode only and only if enabled by sysadmin */ - if (!user_mode(regs) || !unaligned_enabled) + if (!unaligned_enabled) return 1; if (no_unaligned_warning) {