OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d4a40b
)
x86/mm, efi: Use early_ioremap() in arch/x86/platform/efi/efi-bgrt.c
author
Juergen Gross
<jgross@suse.com>
Tue, 24 Feb 2015 09:13:31 +0000
(10:13 +0100)
committer
Ingo Molnar
<mingo@kernel.org>
Tue, 24 Feb 2015 14:58:07 +0000
(15:58 +0100)
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>
arch/x86/platform/efi/efi-bgrt.c
patch
|
blob
|
history
diff --git
a/arch/x86/platform/efi/efi-bgrt.c
b/arch/x86/platform/efi/efi-bgrt.c
index
d143d21
..
d7f997f
100644
(file)
--- 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)
image = efi_lookup_mapped_addr(bgrt_tab->image_address);
if (!image) {
- image = early_
mem
remap(bgrt_tab->image_address,
+ image = early_
io
remap(bgrt_tab->image_address,
sizeof(bmp_header));
ioremapped = true;
if (!image) {
@@
-89,7
+89,7
@@
void __init efi_bgrt_init(void)
}
if (ioremapped) {
- image = early_
mem
remap(bgrt_tab->image_address,
+ image = early_
io
remap(bgrt_tab->image_address,
bmp_header.size);
if (!image) {
pr_err("Ignoring BGRT: failed to map image memory\n");