Skip to content
Commit e4e721fe authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Richard Weinberger
Browse files

um: vector: Use GFP_ATOMIC under spin lock



Use GFP_ATOMIC instead of GFP_KERNEL under spin lock to fix possible
sleep-in-atomic-context bugs.

Fixes: 9807019a ("um: Loadable BPF "Firmware" for vector drivers")
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Acked-By: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent bab991cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment