Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235693
| From | Taku Izumi <izumi.taku@jp.fujitsu.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] x86, efi: rename print_efi_memmap() to efi_print_memmap() |
| Date | 2015-09-30 03:20 +0200 |
| Message-ID | <qeedQ-6IR-19@gated-at.bofh.it> (permalink) |
| References | <qeedP-6IR-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch renames print_efi_memmap() to efi_print_memmap() and
make it global function so that we can invoke it outside of
arch/x86/platform/efi/efi.c
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
---
arch/x86/include/asm/efi.h | 1 +
arch/x86/platform/efi/efi.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h
index ab5f1d4..f8b93d6 100644
--- a/arch/x86/include/asm/efi.h
+++ b/arch/x86/include/asm/efi.h
@@ -103,6 +103,7 @@ extern void __init efi_set_executable(efi_memory_desc_t *md, bool executable);
extern int __init efi_memblock_x86_reserve_range(void);
extern pgd_t * __init efi_call_phys_prolog(void);
extern void __init efi_call_phys_epilog(pgd_t *save_pgd);
+extern void __init efi_print_memmap(void);
extern void __init efi_unmap_memmap(void);
extern void __init efi_memory_uc(u64 addr, unsigned long size);
extern void __init efi_map_region(efi_memory_desc_t *md);
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index 1db84c0..1f95caf 100644
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@ -222,7 +222,7 @@ int __init efi_memblock_x86_reserve_range(void)
return 0;
}
-static void __init print_efi_memmap(void)
+void __init efi_print_memmap(void)
{
#ifdef EFI_DEBUG
efi_memory_desc_t *md;
@@ -524,7 +524,7 @@ void __init efi_init(void)
return;
if (efi_enabled(EFI_DBG))
- print_efi_memmap();
+ efi_print_memmap();
efi_esrt_init();
}
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Introduce "efi_fake_mem" boot option Taku Izumi <izumi.taku@jp.fujitsu.com> - 2015-09-30 03:20 +0200
[PATCH 1/2] x86, efi: rename print_efi_memmap() to efi_print_memmap() Taku Izumi <izumi.taku@jp.fujitsu.com> - 2015-09-30 03:20 +0200
[PATCH 2/2] x86, efi: Add "efi_fake_mem" boot option Taku Izumi <izumi.taku@jp.fujitsu.com> - 2015-09-30 03:20 +0200
RE: [PATCH 2/2] x86, efi: Add "efi_fake_mem" boot option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-09-30 07:00 +0200
csiph-web