diff options
author | Juergen Gross <jgross@suse.com> | 2015-02-24 04:13:31 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-24 09:58:07 -0500 |
commit | 954e12f7a800ce38b4722ca1d7a6d0293d377b55 (patch) | |
tree | dbe4fb2c7376944202dd05a143a7f66050073034 | |
parent | 8d4a40bc0651ea51c196a3d3016d041c41ec19a2 (diff) |
x86/mm, efi: Use early_ioremap() in arch/x86/platform/efi/efi-bgrt.c
Use early_ioremap() to map an I/O-area instead of
early_memremap().
Signed-off-by: Juergen Gross <jgross@suse.com>
Cc: matt.fleming@intel.com
Link: http://lkml.kernel.org/r/1424769211-11378-5-git-send-email-jgross@suse.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/platform/efi/efi-bgrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/platform/efi/efi-bgrt.c b/arch/x86/platform/efi/efi-bgrt.c index d143d216d52b..d7f997f7c26d 100644 --- a/arch/x86/platform/efi/efi-bgrt.c +++ b/arch/x86/platform/efi/efi-bgrt.c | |||
@@ -67,7 +67,7 @@ void __init efi_bgrt_init(void) | |||
67 | 67 | ||
68 | image = efi_lookup_mapped_addr(bgrt_tab->image_address); | 68 | image = efi_lookup_mapped_addr(bgrt_tab->image_address); |
69 | if (!image) { | 69 | if (!image) { |
70 | image = early_memremap(bgrt_tab->image_address, | 70 | image = early_ioremap(bgrt_tab->image_address, |
71 | sizeof(bmp_header)); | 71 | sizeof(bmp_header)); |
72 | ioremapped = true; | 72 | ioremapped = true; |
73 | if (!image) { | 73 | if (!image) { |
@@ -89,7 +89,7 @@ void __init efi_bgrt_init(void) | |||
89 | } | 89 | } |
90 | 90 | ||
91 | if (ioremapped) { | 91 | if (ioremapped) { |
92 | image = early_memremap(bgrt_tab->image_address, | 92 | image = early_ioremap(bgrt_tab->image_address, |
93 | bmp_header.size); | 93 | bmp_header.size); |
94 | if (!image) { | 94 | if (!image) { |
95 | pr_err("Ignoring BGRT: failed to map image memory\n"); | 95 | pr_err("Ignoring BGRT: failed to map image memory\n"); |