summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-02-04 12:00:53 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2016-02-04 14:20:06 +1100
commitd6b1b6944fc46bfd636e05e5fbff92a79e968a30 (patch)
treeb93aabab2258a47a325e4a096b33662692764522
parent3284a7ccd8a3a9088bd57b1603678ff53c1f11d9 (diff)
downloadlinux-next-d6b1b6944fc46bfd636e05e5fbff92a79e968a30.tar.gz
x86/efi: use proper units in efi_find_mirror()
Like in efi_print_mmap() use the proper units when printing sizes. Currently it's hardcoded to 'MiB', though it might be changed to adaptive efi_size_format() in the future. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Robert Elliott <elliott@hpe.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--arch/x86/platform/efi/efi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index 122584ec27ef..a75cd4f3b6d1 100644
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@ -144,8 +144,8 @@ void __init efi_find_mirror(void)
}
}
if (mirror_size)
- pr_info("Memory: %lldM/%lldM mirrored memory\n",
- mirror_size>>20, total_size>>20);
+ pr_info("Memory: %lld MiB/%lld MiB mirrored memory\n",
+ mirror_size >> 20, total_size >> 20);
}
/*