Skip to content

Commit

Permalink
x86/efi: Update comment regarding required phys mapped EFI services
Browse files Browse the repository at this point in the history
Commit 3f4a783 ("x86/efi: Rip out phys_efi_get_time()") left
set_virtual_address_map as the only runtime service needed with a
phys mapping but missed to update the preceding comment. Fix that.

Signed-off-by: Mathias Krause <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
  • Loading branch information
minipli authored and Matt Fleming committed Oct 3, 2014
1 parent 6092068 commit 0ce4605
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/x86/platform/efi/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ static int __init efi_runtime_init32(void)
}

/*
* We will only need *early* access to the following two
* EFI runtime services before set_virtual_address_map
* is invoked.
* We will only need *early* access to the SetVirtualAddressMap
* EFI runtime service. All other runtime services will be called
* via the virtual mapping.
*/
efi_phys.set_virtual_address_map =
(efi_set_virtual_address_map_t *)
Expand All @@ -361,9 +361,9 @@ static int __init efi_runtime_init64(void)
}

/*
* We will only need *early* access to the following two
* EFI runtime services before set_virtual_address_map
* is invoked.
* We will only need *early* access to the SetVirtualAddressMap
* EFI runtime service. All other runtime services will be called
* via the virtual mapping.
*/
efi_phys.set_virtual_address_map =
(efi_set_virtual_address_map_t *)
Expand Down

0 comments on commit 0ce4605

Please sign in to comment.