diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-20 06:47:41 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-21 14:24:07 -0500 |
commit | e33b9d0878ff6b8a543b3423c3019a5dbbf5689a (patch) | |
tree | bd4d1a3263f4d11a6bbe1fdd6be6b801f9fe8672 /arch/arm/mm | |
parent | cae6292b653f5e3308bf2787a54b7dcd2cc7e2b3 (diff) |
ARM: Use long long format when printing meminfo physical addresses
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/mmu.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index e09744e82d50..176749010935 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -794,9 +794,10 @@ static void __init sanity_check_meminfo(void) | |||
794 | */ | 794 | */ |
795 | if (__va(bank->start) >= vmalloc_min || | 795 | if (__va(bank->start) >= vmalloc_min || |
796 | __va(bank->start) < (void *)PAGE_OFFSET) { | 796 | __va(bank->start) < (void *)PAGE_OFFSET) { |
797 | printk(KERN_NOTICE "Ignoring RAM at %.8lx-%.8lx " | 797 | printk(KERN_NOTICE "Ignoring RAM at %.8llx-%.8llx " |
798 | "(vmalloc region overlap).\n", | 798 | "(vmalloc region overlap).\n", |
799 | bank->start, bank->start + bank->size - 1); | 799 | (unsigned long long)bank->start, |
800 | (unsigned long long)bank->start + bank->size - 1); | ||
800 | continue; | 801 | continue; |
801 | } | 802 | } |
802 | 803 | ||
@@ -807,10 +808,11 @@ static void __init sanity_check_meminfo(void) | |||
807 | if (__va(bank->start + bank->size) > vmalloc_min || | 808 | if (__va(bank->start + bank->size) > vmalloc_min || |
808 | __va(bank->start + bank->size) < __va(bank->start)) { | 809 | __va(bank->start + bank->size) < __va(bank->start)) { |
809 | unsigned long newsize = vmalloc_min - __va(bank->start); | 810 | unsigned long newsize = vmalloc_min - __va(bank->start); |
810 | printk(KERN_NOTICE "Truncating RAM at %.8lx-%.8lx " | 811 | printk(KERN_NOTICE "Truncating RAM at %.8llx-%.8llx " |
811 | "to -%.8lx (vmalloc region overlap).\n", | 812 | "to -%.8llx (vmalloc region overlap).\n", |
812 | bank->start, bank->start + bank->size - 1, | 813 | (unsigned long long)bank->start, |
813 | bank->start + newsize - 1); | 814 | (unsigned long long)bank->start + bank->size - 1, |
815 | (unsigned long long)bank->start + newsize - 1); | ||
814 | bank->size = newsize; | 816 | bank->size = newsize; |
815 | } | 817 | } |
816 | #endif | 818 | #endif |