diff options
Diffstat (limited to 'arch/ia64/kernel/efi.c')
-rw-r--r-- | arch/ia64/kernel/efi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 741b99c1a0b1..c52d7540dc05 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c | |||
@@ -568,6 +568,7 @@ efi_init (void) | |||
568 | { | 568 | { |
569 | const char *unit; | 569 | const char *unit; |
570 | unsigned long size; | 570 | unsigned long size; |
571 | char buf[64]; | ||
571 | 572 | ||
572 | md = p; | 573 | md = p; |
573 | size = md->num_pages << EFI_PAGE_SHIFT; | 574 | size = md->num_pages << EFI_PAGE_SHIFT; |
@@ -586,9 +587,10 @@ efi_init (void) | |||
586 | unit = "KB"; | 587 | unit = "KB"; |
587 | } | 588 | } |
588 | 589 | ||
589 | printk("mem%02d: type=%2u, attr=0x%016lx, " | 590 | printk("mem%02d: %s " |
590 | "range=[0x%016lx-0x%016lx) (%4lu%s)\n", | 591 | "range=[0x%016lx-0x%016lx) (%4lu%s)\n", |
591 | i, md->type, md->attribute, md->phys_addr, | 592 | i, efi_md_typeattr_format(buf, sizeof(buf), md), |
593 | md->phys_addr, | ||
592 | md->phys_addr + efi_md_size(md), size, unit); | 594 | md->phys_addr + efi_md_size(md), size, unit); |
593 | } | 595 | } |
594 | } | 596 | } |