Skip to content

Commit

Permalink
Merge tag 'efi-urgent' into x86/urgent
Browse files Browse the repository at this point in the history
 * Fix earlyprintk=efi,keep support by switching to an ioremap() mapping
   of the framebuffer when early_ioremap() is no longer available and
   dropping __init from functions that may be invoked after
   free_initmem() - Dave Young

 * We shouldn't be exporting the EFI runtime map in sysfs if not using
   the new 1:1 EFI mapping code since in that case the mappings are not
   static across a kexec reboot - Dave Young

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
  • Loading branch information
H. Peter Anvin committed Jun 5, 2014
2 parents 3e1a878 + a3530e8 commit 1778754
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86/platform/efi/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,9 @@ static void __init save_runtime_map(void)
void *tmp, *p, *q = NULL;
int count = 0;

if (efi_enabled(EFI_OLD_MEMMAP))
return;

for (p = memmap.map; p < memmap.map_end; p += memmap.desc_size) {
md = p;

Expand Down

0 comments on commit 1778754

Please sign in to comment.