aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/efi
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-09-07 13:42:16 -0400
committerMatt Fleming <matt.fleming@intel.com>2014-10-03 13:41:02 -0400
commit0ce4605c9aa7b9c25bb4d117eb07db67cd7f1991 (patch)
treebc8b43deef5bef7d201f6cea56e02794ed597220 /arch/x86/platform/efi
parent609206854767559ecbb1c308bbd6ef7af13d8c6e (diff)
x86/efi: Update comment regarding required phys mapped EFI services
Commit 3f4a7836e331 ("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 <minipli@googlemail.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/platform/efi')
-rw-r--r--arch/x86/platform/efi/efi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index 03938d17ad6d..1bc2c878e42e 100644
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@ -337,9 +337,9 @@ static int __init efi_runtime_init32(void)
337 } 337 }
338 338
339 /* 339 /*
340 * We will only need *early* access to the following two 340 * We will only need *early* access to the SetVirtualAddressMap
341 * EFI runtime services before set_virtual_address_map 341 * EFI runtime service. All other runtime services will be called
342 * is invoked. 342 * via the virtual mapping.
343 */ 343 */
344 efi_phys.set_virtual_address_map = 344 efi_phys.set_virtual_address_map =
345 (efi_set_virtual_address_map_t *) 345 (efi_set_virtual_address_map_t *)
@@ -361,9 +361,9 @@ static int __init efi_runtime_init64(void)
361 } 361 }
362 362
363 /* 363 /*
364 * We will only need *early* access to the following two 364 * We will only need *early* access to the SetVirtualAddressMap
365 * EFI runtime services before set_virtual_address_map 365 * EFI runtime service. All other runtime services will be called
366 * is invoked. 366 * via the virtual mapping.
367 */ 367 */
368 efi_phys.set_virtual_address_map = 368 efi_phys.set_virtual_address_map =
369 (efi_set_virtual_address_map_t *) 369 (efi_set_virtual_address_map_t *)