diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2015-09-30 13:20:00 +0300 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2015-10-12 16:20:08 +0300 |
commit | 0bbea1ce98ed44779736ecc54ca9cdbca2b95544 (patch) | |
tree | 73249acc050d85db0944f46631c9fa5f72816088 /arch/x86/platform/efi/efi.c | |
parent | 9ac4d5ab3e7ae6f485501cb6bf3965da34ac1bac (diff) | |
download | linux-0bbea1ce98ed44779736ecc54ca9cdbca2b95544.tar.xz |
x86/efi: Rename print_efi_memmap() to efi_print_memmap()
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>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Xishi Qiu <qiuxishi@huawei.com>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/platform/efi/efi.c')
-rw-r--r-- | arch/x86/platform/efi/efi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 4d0ff0f27a99..c69e58fb7f19 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(); } |