efi: fix stale reference to efi_recover_from_page_fault()

efi_recover_from_page_fault() was renamed to
efi_crash_gracefully_on_page_fault(), but the comment above enum
efi_rts_ids was not updated. Use the current name.

Fixes: c46f52231e ("x86/{fault,efi}: Fix and rename efi_recover_from_page_fault()")
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Breno Leitao
2026-06-16 05:09:34 -07:00
committed by Ard Biesheuvel
parent dc59e4fea9
commit 718ee46ba4

View File

@@ -1212,8 +1212,8 @@ efi_call_acpi_prm_handler(efi_status_t (__efiapi *handler_addr)(u64, void *),
/*
* efi_runtime_service() function identifiers.
* "NONE" is used by efi_recover_from_page_fault() to check if the page
* fault happened while executing an efi runtime service.
* "NONE" is used by efi_crash_gracefully_on_page_fault() to check if the
* page fault happened while executing an efi runtime service.
*/
enum efi_rts_ids {
EFI_NONE,