aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2011-08-02 05:45:24 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-08-04 15:31:28 -0400
commit8f3c5883d840d079a5d2db20893b5ac8ba453b40 (patch)
treea4a18aecf7bd7d2cdb39f46c71a1bb18e29553ea
parent1e9ea2656b656edd3c8de98675bbc0340211b5bd (diff)
xen: Fix printk() format in xen/setup.c
Use correct format specifier for unsigned long. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r--arch/x86/xen/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 60aeeb56948f..e4056321b243 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -113,7 +113,7 @@ static unsigned long __init xen_release_chunk(phys_addr_t start_addr,
113 len++; 113 len++;
114 } 114 }
115 } 115 }
116 printk(KERN_CONT "%ld pages freed\n", len); 116 printk(KERN_CONT "%lu pages freed\n", len);
117 117
118 return len; 118 return len;
119} 119}
@@ -139,7 +139,7 @@ static unsigned long __init xen_return_unused_memory(unsigned long max_pfn,
139 if (last_end < max_addr) 139 if (last_end < max_addr)
140 released += xen_release_chunk(last_end, max_addr); 140 released += xen_release_chunk(last_end, max_addr);
141 141
142 printk(KERN_INFO "released %ld pages of unused memory\n", released); 142 printk(KERN_INFO "released %lu pages of unused memory\n", released);
143 return released; 143 return released;
144} 144}
145 145