hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/include/asm/efi.h
....@@ -25,7 +25,7 @@
2525 ({ \
2626 efi_virtmap_load(); \
2727 __efi_fpsimd_begin(); \
28
- spin_lock(&efi_rt_lock); \
28
+ raw_spin_lock(&efi_rt_lock); \
2929 })
3030
3131 #define arch_efi_call_virt(p, f, args...) \
....@@ -37,12 +37,12 @@
3737
3838 #define arch_efi_call_virt_teardown() \
3939 ({ \
40
- spin_unlock(&efi_rt_lock); \
40
+ raw_spin_unlock(&efi_rt_lock); \
4141 __efi_fpsimd_end(); \
4242 efi_virtmap_unload(); \
4343 })
4444
45
-extern spinlock_t efi_rt_lock;
45
+extern raw_spinlock_t efi_rt_lock;
4646 efi_status_t __efi_rt_asm_wrapper(void *, const char *, ...);
4747
4848 #define ARCH_EFI_IRQ_FLAGS_MASK (PSR_D_BIT | PSR_A_BIT | PSR_I_BIT | PSR_F_BIT)