efi-provide-empty-efi_enter_virtual_mode-implementation.patch removed from -mm tree
The patch titled
Subject: efi: provide empty efi_enter_virtual_mode implementation
has been removed from the -mm tree. Its filename was
efi-provide-empty-efi_enter_virtual_mode-implementation.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Andrey Konovalov <[email protected]>
Subject: efi: provide empty efi_enter_virtual_mode implementation
When CONFIG_EFI is not enabled, we might get an undefined reference to efi_enter_virtual_mode() error, if this efi_enabled() call isn't inlined into start_kernel(). This happens in particular, if start_kernel() is annodated with __no_sanitize_address.
---
include/linux/efi.h | 4 ++++ 1 file changed, 4 insertions(+)
include/linux/efi.h renamed from include/linux/efi.h~efi-provide-empty-efi_enter_virtual_mode-implementation +4 -0
@@ -606,7 +606,11 @@ extern void *efi_get_pal_addr (void);extern void efi_map_pal_code (void );extern void efi_memmap_walk (efi_freemem_callback_t callback,void *arg);extern void efi_gettimeofday (struct timespec64 *ts); +#ifdef CONFIG_EFI extern void efi_enter_virtual_mode (void );/* switch EFI to virtual mode, if possible */ +#else +static inline void efi_enter_virtual_mode (void ) {} +#endif #ifdef CONFIG_X86 extern efi_status_t efi_query_variable_store(u32 attributes, unsigned long size,
_
Patches currently in -mm which might be from [email protected] are