|
@@ -597,7 +597,7 @@ static void __init create_36bit_mapping(struct map_desc *md,
|
|
|
if (!(cpu_architecture() >= CPU_ARCH_ARMv6 || cpu_is_xsc3())) {
|
|
|
printk(KERN_ERR "MM: CPU does not support supersection "
|
|
|
"mapping for 0x%08llx at 0x%08lx\n",
|
|
|
- __pfn_to_phys((u64)md->pfn), addr);
|
|
|
+ (long long)__pfn_to_phys((u64)md->pfn), addr);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -610,14 +610,14 @@ static void __init create_36bit_mapping(struct map_desc *md,
|
|
|
if (type->domain) {
|
|
|
printk(KERN_ERR "MM: invalid domain in supersection "
|
|
|
"mapping for 0x%08llx at 0x%08lx\n",
|
|
|
- __pfn_to_phys((u64)md->pfn), addr);
|
|
|
+ (long long)__pfn_to_phys((u64)md->pfn), addr);
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if ((addr | length | __pfn_to_phys(md->pfn)) & ~SUPERSECTION_MASK) {
|
|
|
- printk(KERN_ERR "MM: cannot create mapping for "
|
|
|
- "0x%08llx at 0x%08lx invalid alignment\n",
|
|
|
- __pfn_to_phys((u64)md->pfn), addr);
|
|
|
+ printk(KERN_ERR "MM: cannot create mapping for 0x%08llx"
|
|
|
+ " at 0x%08lx invalid alignment\n",
|
|
|
+ (long long)__pfn_to_phys((u64)md->pfn), addr);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -656,17 +656,17 @@ static void __init create_mapping(struct map_desc *md)
|
|
|
pgd_t *pgd;
|
|
|
|
|
|
if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) {
|
|
|
- printk(KERN_WARNING "BUG: not creating mapping for "
|
|
|
- "0x%08llx at 0x%08lx in user region\n",
|
|
|
- __pfn_to_phys((u64)md->pfn), md->virtual);
|
|
|
+ printk(KERN_WARNING "BUG: not creating mapping for 0x%08llx"
|
|
|
+ " at 0x%08lx in user region\n",
|
|
|
+ (long long)__pfn_to_phys((u64)md->pfn), md->virtual);
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if ((md->type == MT_DEVICE || md->type == MT_ROM) &&
|
|
|
md->virtual >= PAGE_OFFSET && md->virtual < VMALLOC_END) {
|
|
|
- printk(KERN_WARNING "BUG: mapping for 0x%08llx at 0x%08lx "
|
|
|
- "overlaps vmalloc space\n",
|
|
|
- __pfn_to_phys((u64)md->pfn), md->virtual);
|
|
|
+ printk(KERN_WARNING "BUG: mapping for 0x%08llx"
|
|
|
+ " at 0x%08lx overlaps vmalloc space\n",
|
|
|
+ (long long)__pfn_to_phys((u64)md->pfn), md->virtual);
|
|
|
}
|
|
|
|
|
|
type = &mem_types[md->type];
|
|
@@ -684,9 +684,9 @@ static void __init create_mapping(struct map_desc *md)
|
|
|
length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));
|
|
|
|
|
|
if (type->prot_l1 == 0 && ((addr | phys | length) & ~SECTION_MASK)) {
|
|
|
- printk(KERN_WARNING "BUG: map for 0x%08lx at 0x%08lx can not "
|
|
|
+ printk(KERN_WARNING "BUG: map for 0x%08llx at 0x%08lx can not "
|
|
|
"be mapped using pages, ignoring.\n",
|
|
|
- __pfn_to_phys(md->pfn), addr);
|
|
|
+ (long long)__pfn_to_phys(md->pfn), addr);
|
|
|
return;
|
|
|
}
|
|
|
|