diff options
Diffstat (limited to 'kernel/resource.c')
-rw-r--r-- | kernel/resource.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index e3080fcc66a3..ea5f7811a408 100644 --- a/kernel/resource.c +++ b/kernel/resource.c | |||
@@ -83,10 +83,10 @@ static int r_show(struct seq_file *m, void *v) | |||
83 | for (depth = 0, p = r; depth < MAX_IORES_LEVEL; depth++, p = p->parent) | 83 | for (depth = 0, p = r; depth < MAX_IORES_LEVEL; depth++, p = p->parent) |
84 | if (p->parent == root) | 84 | if (p->parent == root) |
85 | break; | 85 | break; |
86 | seq_printf(m, "%*s%0*lx-%0*lx : %s\n", | 86 | seq_printf(m, "%*s%0*llx-%0*llx : %s\n", |
87 | depth * 2, "", | 87 | depth * 2, "", |
88 | width, r->start, | 88 | width, (unsigned long long) r->start, |
89 | width, r->end, | 89 | width, (unsigned long long) r->end, |
90 | r->name ? r->name : "<BAD>"); | 90 | r->name ? r->name : "<BAD>"); |
91 | return 0; | 91 | return 0; |
92 | } | 92 | } |
@@ -511,7 +511,9 @@ void __release_region(struct resource *parent, unsigned long start, unsigned lon | |||
511 | 511 | ||
512 | write_unlock(&resource_lock); | 512 | write_unlock(&resource_lock); |
513 | 513 | ||
514 | printk(KERN_WARNING "Trying to free nonexistent resource <%08lx-%08lx>\n", start, end); | 514 | printk(KERN_WARNING "Trying to free nonexistent resource " |
515 | "<%016llx-%016llx>\n", (unsigned long long)start, | ||
516 | (unsigned long long)end); | ||
515 | } | 517 | } |
516 | 518 | ||
517 | EXPORT_SYMBOL(__release_region); | 519 | EXPORT_SYMBOL(__release_region); |